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

Full-Stack Fundamentals 3 - Auth

Full-Stack Fundamentals 3 - Auth

Sources: Mckay Wrigley (takeoff)
In the previous project, we created a working application - Prompt Manager, mastering the key principles of full-stack development using Next.js, Supabase...
1 hour 9 minutes 21 seconds
Frontend System Design

Frontend System Design

Sources: LearnersBucket | Prashant Yadav
Become the Alpha frontend engineer by designing 30+ distinct web applications and all the fundamentals. Learn the advanced concepts, strategies, techniques, and
Framer Motion Recipes

Framer Motion Recipes

Sources: Build UI
Framer Motion is a popular React animation library. It features both declarative and imperative APIs, so you can add common animations in just a few lines of code, or drop down ...
3 hours 8 minutes 18 seconds
ScrollTrigger Express

ScrollTrigger Express

Sources: Carl (Creative Coding Club)
ScrollTrigger is GreenSock's most revolutionary plugin to date. With its help, you can control all your animations with precision and...
10 hours 31 minutes 38 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