About the Rapid Testing with Vitest course

In this course the creator of Vitest, Anthony Fu, will get you up and running with the fastest testing framework around.

Learn the basics of how to do unit testing, why it's important, and how to be more confident shipping to production. Even if you are brand new to unit testing, don't worry! Anthony will start with the fundamentals and work up to more advanced topics such as mocking and spying.

Learn the benefits of TDD (Test Driven Development) and practice using the approach to build a simple deep merge function. In the process, get familiar with Vitest syntax and best practices. Test both expected functionalities and that unexpected input throws the proper errors.

Finally, experience the blazing fast feedback loop testing with Vitest provides and get hot tips from an avid open source developer who uses Vitest in a variety of real worl projects including: Vite, Slidedev, UnoCSS, and even Vitest is tested with Vitest!

⚠️ NOTICE: this course has been delayed due to limited instructor availability. There is no current timeline for new lessons but we will pick it up again when possible. Thanks!

Use Vitest to Spy console.log
Coming Soon
Mock fs with Vitest
Coming Soon
Testing Setup and Writing the Composable
Coming Soon
How to Test Reactive Changes
Coming Soon
Test a Counter Component with Vitest and Vue Test Utils
Coming Soon
Configure the DOM Environment for Vitest
Coming Soon
How to Mount a Component for Testing
Coming Soon
Pass Component Props in Tests
Coming Soon
Use Snapshots with Vue
Coming Soon
Filter Tests
Coming Soon
How to Mock Vue Components
Coming Soon
How to Migrate from Jest to Vitest
Coming Soon
Vitest UI
Coming Soon
The Vitest VS Code Extension
Coming Soon
Use Vitest with Nuxt 3
Coming Soon
Aliasing & Plugins
Coming Soon
Course Conclusion
Coming Soon

You will receive a notification to your email when a new lesson is published.

Banner

What you will learn in the Rapid Testing with Vitest course

How to Install Vitest
Writing Tests
Snapshots
Spying and Mocking
Testing Vue Components
Testing Vue Composables
TDD

Share this course

Request a course

Who's behind the course

Anthony Fu - Teacher
Vue, Vitest, and Nuxt Core Team Member | Fanatical Open Sourceror
Daniel Kelly - Reviewer/Contributor
Daniel is a full-time educator at Vue School and has a massive passion for Vue.js, Nuxt.js, and Laravel.