Master the art of testing
Next.js is the hardest JavaScript framework to test.
Learn to use testing tools efficiently with NextPatterns.
- "Of course, I test my apps! I didn't wait for you to tell me that!" 😏
- "Yeah, but..."
Next.js is a framework so powerful, embodying so many different
strategies to fetch data and interact with them, both server-side
and client-side, that it makes it the most difficult technology to test
in the world.
That's the price of fame!
Of course, you certainly use testing tools like Jest, Vitest, Storybook,
Cypress, or Playwright. This is already covered by Next.js documentation.
But the difficulty lies in using them efficiently.
What to expect from this course?
This collection of patterns will be dedicated to properly testing Next.js applications, with the new App Router architecture and React Server Components.
- Learning what strategy is best for each part of the application you want to test.
- Learning how to optimize your development process to facilitate quality assurance.
- Learning efficient debugging patterns for React Server Components.
This course is a compilation of best practices for efficient testing and quality assurance of Next.js applications based on the App Router architecture and React Server Components.
Each developer on StackOverflow will propose their own little trick to test apps, but they don't explain properly which solution should be used in each specific situation.