Back to Browse

Introducing Component Testing with Cypress

10.1K views
Apr 7, 2021
16:07

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: https://www.cypress.io/blog/2021/04/06/getting-start-with-cypress-component-testing-vue-2-3/ React: https://www.cypress.io/blog/2021/04/06/cypress-component-testing-react/ 📗 $5 off my Design Patterns for Vue.js with YT_5_OFF: https://lachlan-miller.me/design-patterns-for-vuejs 🎥 I have a course on Vue.js 3! Learn Options + Composition API, Vuex + Vue Router: 👉 GUMROAD: https://gumroad.com/l/complete-vuejs 👉 UDEMY: https://www.udemy.com/course/complete-vuejs-3-crash-course-composition-api-vue-router-vuex/?referralCode=765A6E679914BF6E60AF

Download

1 formats

Video Formats

360pmp425.1 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Introducing Component Testing with Cypress | NatokHD