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
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

Mocking Techniques in Vitest

Mocking Techniques in Vitest

Sources: Artem Zakharchenko
Let's admit it, mocking can be really confusing. First, you need to understand what exactly to mock. Then, find the right way to do it so it doesn't worsen...
1 hour 30 minutes 36 seconds
Frontend architecture and patterns bootcamp

Frontend architecture and patterns bootcamp

Sources: udemy
This comprehensive course covers a wide range of software architecture topics, including component-oriented patterns, Single Page Application (SPA)...
4 hours 21 minutes 43 seconds