Vitest is a testing framework built for Vite! It's blazing fast test runs and zero config setup make testing a breeze for Vue.js 3 projects.
Follow the course to get an email notification when a new lesson is published.
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!