Unit and integration testing with Vitest
Learn to test your codebase FAST with Vitest - a fast test runner built on ESBuild
Course Outcomes
- Learn basics of unit testing
- Learn how to work with integration testing
- Write solid unit tests using Vitest
- Learn about code coverage and how to test edge cases
- Mocking functions, and testing critical parts of code
Description
Code testing is important to ship code to production confidently. This course is a getting started to expert guide on using Vitest for code testing your frontend and backend codebases.
Vitest is a new test runner that comes with support for assertion libraries: Chai and Jest. Vitest is a fast runner with built in support for JS, TS, JSX and more. It is built on top of Vite.
Vite's out-of-the-box support for common web patterns, features like glob imports and SSR primitives, and its many plugins and integrations are fostering a vibrant ecosystem. Its dev and build story are key to its success.
Course Structure
16 lectures • 54m total duration
Student feedback
100%
0%
0%
0%
0%
Course Instructor

We are a team of developers, creators, designers trying to build the best interactive programming courses here.View profile
What you will get:
- 1 hours+ on-demand content
- 1 hands-on-keyboard exercises
- 24x7 doubt solving + instant help
- Practice labs and projects included
- Certificate of completion
Secure Payment


Upgrade to a Pro account and unlock more courses for accelerated learning. Instant feedback, interactive learning and more.
Free
- 100+ coding courses
- Certificate of completion
- Hands-on practice
- 24x7 doubt solving with AI
- 100+ projects to practice
- In-depth project feedback
- AWS cloud sandboxes
Pro
- 100+ coding courses
- Certificate of completion
- Hands-on practice
- 24x7 doubt solving with AI
- 100+ projects to practice
- In-depth project feedback
- AWS cloud sandboxes