codedamn logo
codedamn
Course image for Unit and integration testing with Vitest

Unit and integration testing with Vitest

Learn to test your codebase FAST with Vitest - a fast test runner built on ESBuild

1 hours+ of total content
0.0
0 ratings
39 students enrolled
Course Creator: Team codedamn

Heads up!

This is an official course from Frontend Web Developer Learning Path. learning path.

Goals

  • 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 00:54:59 total duration

  Introduction to Vitest 
00:59
  Why you should test your code? 
01:52
  How to get the most out of this course? 
01:00
  Vitest interactive lab 
10:19
  Testing Structure Explained 
01:00
  Quiz Question 
01:00
  Vitest configuration - Introduction 
03:04

Student feedback

0.0
Course Rating

0%

0%

0%

0%

0%

Reviews

No reviews yet

Your Course Instructor

Course Instructor Image

Team codedamn

Official courses from codedamn team

Hi! We're team codedamn - and we are developers, creators, designers building the best interactive programming courses on the planet. Sign up for a free account on codedamn to stay in touch.

Upgrade to codedamn Pro Plan and unlock more courses for accelerated learning. Unlimited courses, interactive learning and more.

Free

  • HD video content
  • Certificate of completion
  • Mentorship from codedamn staff
  • Support over WhatsApp
  • Full learning path unlocked
  • Unlimited hands-on practice

Pro

  • HD video content
  • Certificate of completion
  • Mentorship from codedamn staff
  • All exclusive courses unlocked
  • Unlimited hands-on practice
Try codedamn Pro (14-day free refund)