We May Not Need Component Testing | Vue.js Live 2024
Testing is mandatory, and unit tests are the foundation for building a robust testing system for our projects. Maya Shavin examines how many unit tests are efficient for front-end projects involving components without overkill. Maya discusses whether additional libraries like Testing Library or Vue Test Utils with Vitest are necessary when Playwright alone can suffice. Explore if using an E2E framework like Playwright for component testing is overkill in this insightful talk.
Ready to master Vue.js? With weekly Vue js tutorials on the latest topics, and exclusive content with Evan You (the creator of Vue), Vue Mastery is the ultimate learning resource for Vue developers to level-up their skills. Watch more free Vuejs tutorials ? https://www.vuemastery.com/courses
0:00 We May Not Need Component Testing
2:14 Where should Component Testing belong?
4:44 Unit test or Integration test?
5:01 Demo app
7:09 Demo
22:46 Vitest vs Playwright
Vue Mastery
Vue Mastery is the ultimate learning resource for Vue.js developers. We release weekly video tutorials and articles at VueMastery.com. We're also the proud producers of the official Vue.js News. You can consume it in newsletter and podcast format at news....