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
Course Structure
28 lectures • 55m total duration
About This Course
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.
Used by learners at
This course is interactive
Interactive courses include hands-on coding exercises to practice as you learn. You practice exercises in a VS Code like IDE without any installation/setup.
Student Feedback
80%
20%
0%
0%
0%
Course Instructor
Me alongside a team of developers, creators, designers are building the best interactive programming courses here.View profile
Includes Certificate of Completion
Add this credential to your LinkedIn profile, resume, or CV. You can share it on social media and in your performance review.
What's in the course?
- 8 video lectures
- 1 hands-on-keyboard exercise
- 1+ hour of content
- 1 quiz exam
- GPT-4 level AI assistance
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