Improve the quality of your applications with a solid component test suite.
In the Testing Vue.js Components workshop, you will learn how to test your components using Cypress Component Testing and Vitest.
You'll learn the techniques and strategies needed to test common component architecture.
We cover the essentials, such as when to choose which tool: Vitest or Cypress Component Testing, best practices on what to actually test, testing a component’s rendered HTML, and testing component interactions with other components and user interactions with the component.
In the course, we follow the recommendations of the official Vue docs choosing to do tests that:
On the other hand we avoid tests that:
Throughout the workshop, you will practice what you learn by working on a lot of hands-on assignments with help from Daniel.
Once you're done with the workshop you'll be able to test your Vue.js applications with confidence using Cypress Component Testing and Vitest.
If you don't know how to programmatically interact with a component, and test it’s rendered output, then this workshop is made for you!
The Testing Vue.js Components workshop is part 2 in our testing workshop series.
Our goal is to be the number one source of Vue.js knowledge for all skill levels. We offer the knowledge of our industry leaders through awesome video courses for a ridiculously low price.
More than 120.000 users have already joined us. You are welcome too!