Testing a React Application: The Modern Approach
The first article in a series where I go over how to do modern-day testing on a React app. In this post, I cover my perspective on effective tests.

Search for a command to run...
Series
I explore a modern-day approach to testing a React application. From setting up the unit tests and end-to-end tests to getting actionable data from code coverage metrics.
The first article in a series where I go over how to do modern-day testing on a React app. In this post, I cover my perspective on effective tests.

Introduction The second part of my ongoing series on how to have a more modern approach to testing a React application. Last time I went over the tools I prefer using. 🔨 Cypress for End-to-End testing Vitest for Unit Testing MSW for mocking our ser...

Vitest is an amazing library to write unit tests. I go over the basic API and configuration for Vitest.

In the fourth part of my series, I go over creating a unit test using the Vitest library.

Last time we created our first unit test with Vitest. This time we'll finish mocking our fetch request with MSW.

Last time we finished integrating MSW with Vitest. This time we'll set up Cypress for our End-to-End testing.
