February 2022
Intermediate to advanced
366 pages
6h 35m
English
Testing is an essential part of the whole development workflow. It gives you more assurance that you're not introducing bugs into your code, as well as that you're not breaking any existing features.
Testing Next.js specifically is not different from testing any other React app or Express.js, Fastify, or Koa application. In fact, we can divide the testing phases into three different stages:
We will look at those concepts in detail in this chapter's sections.
If you already have previous experience in writing a React application, you're likely to re-utilize your knowledge for testing a Next.js-based website.
In this chapter, we will look in detail at the following: ...