We start with essentials topics, like what unit testing is, what features/code you should write tests for, and the essential features of the testing framework Vitest.
During the workshop, we'll be working with a ShoppingCart object. We will write tests for our data models, learn how to mock global modules such as Axios, and our own implementations. We'll learn about the risks mocking introduces and learn powerful testing strategies we can use to create non-flaky, high-quality, and reliable tests. We'll also cover the Snapshot testing technique.
Throughout the day you will practice what you learn by working on a lot of hands-on assignments with live help from Daniel. Many of the exercises are designed to learn how to test real-world applications and common architecture.
By the end of the workshop, you'll have a solid understanding of testing, the tools needed, the workflow, and know which testing strategy to use in different scenarios.
If you don't know what stubs, spies, or mocks are, or when to use them or if you're uncertain on how to mock modules or API requests or just don't know where to begin to become a testing ninja, then this workshop is made for you!
Topics covered in this workshop are a required prerequisite for Testing Vue Components.
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!