Skip to main content

Advanced Vitest Patterns

1h 43m 59s
English
Paid

Course description

Do you know that feeling when a tool "clicks"? When you stop perceiving it merely as a means to an end and start using it as a true tool for creating better solutions. That's exactly what we want to achieve with Vitest.

In this course, you will go beyond the basics and become a true "super user" of Vitest. You will learn to understand the inner workings of the test runner, create your own test scenarios, and use this flexibility to solve complex tasks—from highly complex tests to performance issues.

Read more about the course

What you will learn:

  1. A deep understanding and configuration of Vitest;
  2. Creating your own testing environments;
  3. Using custom fixtures, matchers, and equality testers;
  4. Organizing tests for real, complex applications;
  5. Approaches to setting up the testing process for your tasks.


This course is about customization and how to make Vitest your tool for confident and productive work. By the end of the course, you will feel at home with Vitest and be able to build testing systems of any level of complexity.

Watch Online

This is a demo lesson (10:00 remaining)

You can watch up to 10 minutes for free. Subscribe to unlock all 38 lessons in this course and access 10,000+ hours of premium content across all courses.

View Pricing

Watch Online Advanced Vitest Patterns

0:00
/
#1: Advanced Vitest Patterns Introduction

All Course Lessons (38)

#Lesson TitleDurationAccess
1
Advanced Vitest Patterns Introduction Demo
01:33
2
Setup Introduction
00:15
3
Visual Studio Code extension
03:24
4
Visual Studio Code extension solution
03:15
5
Multiple Workspaces
00:59
6
Multiple Workspaces Solution
06:09
7
Code Coverage
01:36
8
Code Coverage Solution
04:54
9
Setup Outro
00:12
10
Context Introduction
02:11
11
Custom Fixtures
01:45
12
Custom Fixtures Solution
09:35
13
Automatic Fixtures
02:43
14
Automatic Fixtures Solution
04:05
15
Context Outro
00:21
16
Assertions Introduction
01:12
17
Custom Matchers
02:25
18
Custom Matchers Solution
08:00
19
Asymmetric Matchers
02:52
20
Asymmetric Matchers Solution
02:40
21
Custom Equality Testers
02:05
22
Custom Equality Testers Solution
03:26
23
Retryable Assertions
01:29
24
Retryable Assertions Solution
03:35
25
Soft Assertions
02:56
26
Soft Assertions Solution
04:54
27
Assertions Outro
00:43
28
Performance Introduction
01:16
29
Profiling Slow Te
02:26
30
Profiling Slow Te Solution
06:11
31
Concurrency
02:14
32
Concurrency Solution
02:59
33
Isolation
01:21
34
Isolation Solution
01:43
35
Sharding
00:38
36
Sharding Solution
04:43
37
Performance Outro
00:51
38
Advanced Vitest Patterns Outro
00:23

Unlock unlimited learning

Get instant access to all 37 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.

Learn more about subscription

Comments

0 comments

Want to join the conversation?

Sign in to comment

Similar courses

Build & Test Accessible Web Apps | Testing Accessibility (PRO)

Build & Test Accessible Web Apps | Testing Accessibility (PRO)

Sources: Marcy Sutton
Comprehensive Accessibility Training for Creating High-Quality Web Applications A self-paced course designed to teach the principles and effective...
16 hours 30 minutes 59 seconds
Web Performance Fundamentals

Web Performance Fundamentals

Sources: Nadia Makarevich
"The Fundamentals of Web Performance" focuses on the key aspects of improving the speed and responsiveness of web applications in the context of React...
The Complete 2023 Web Development Bootcamp

The Complete 2023 Web Development Bootcamp

Sources: udemy
Welcome to the Complete Web Development Bootcamp, the only course you need to learn to code and become a full-stack web developer. With over 12,000 ratings and a 4.8 average, my...
62 hours 32 minutes 23 seconds
Full-Stack Fundamentals 2 - Backend

Full-Stack Fundamentals 2 - Backend

Sources: Mckay Wrigley (takeoff)
In the first project, we focused on the frontend, creating a personal portfolio website. Now we will take the next step towards full-stack development...
1 hour 45 minutes 49 seconds