Introducing Component Testing with Cypress @LachlanMiller
Introducing Component Testing with Cypress  @LachlanMiller
Uploaded April 2021 | Updated November 2026, 7 hours ago
Wooooooah, component testing is really fun now! Note at 11:40 I said I prefer the longer test... any longer and I'd probably break it up, but I find with Cypress I tend to exercise the entire component in a few tests medium sized tests, rather than lots of small ones. You can do whatever you like, Cypress will clean up in between each test for you 🎉

Vue 2/3: cypress.io/blog/2021/04/06/getting-start-with-cypress-component-testing-vue-2-3

React: cypress.io/blog/2021/04/06/cypress-component-testing-react

📗 $5 off my Design Patterns for Vue.js with YT_5_OFF: lachlan-miller.me/design-patterns-for-vuejs
🎥 I have a course on Vue.js 3! Learn Options + Composition API, Vuex + Vue Router:
👉 GUMROAD: gumroad.com/l/complete-vuejs
👉 UDEMY: udemy.com/course/complete-vuejs-3-crash-course-composition-api-vue-router-vuex/?referralCode=765A6E679914BF6E60AF
Introducing Component Testing with CypressPushing Logic into Composables[Testing Vue 3 apps] 1.8- Plugins (Vuex) and the Composition APIWorking with Forms - [Vue Testing Library 6/8][Functional Core, Imperative Shell] Decoupled Redo (6/8)Cypress CT 3/8 - Building a Better MountVue Code Review: Early Returns, Separating Concerns, Missing Tests[Vue.js 3 Crash Course] 1.11: Component Props[Testable Forms] 1.13 Philosphy around Separation of ConcernsThe State of Component TestingDecoding VLQs for Source MapsTypesafe GraphQL and Vue 4/9 - Reactive Updates with Urql
Lachlan Miller |

Introducing Component Testing with Cypress

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER