We May Not Need Component Testing | Vue.js Live 2024

Опубликовано: 15 Июль 2024
на канале: Vue Mastery
960
26

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