Testing Next.js Apps with Jest, Testing Library and Cypress Course
Learn to test a real-world app with routes, authentication, database and more!
Learn how to test your Next.js app from top to bottom! Here are some lists to help you understand comprehensive this course is: This course teaches how to test all aspects of a Next.js application, including: UI unit tests, API unit tests, Next.js routes, Cached pages, Data updates (both to the cache and via SWR refresh interval), Authentication, End-to-End tests for a complete user flow
The course includes “code quizzes” — challenges to write code based on the concepts you’ve just learned. For more concept-heavy sections (such as testing definitions and guidelines) the course provides multiple-choice quizzes.
A Next.js app has already been written for the course, so the course content can focus on testing. The course tests a popular concert venue app called… Popular Concert Venue (the owners were apparently running low on creativity when they named the place). The app features shows from bands such as The Joyous Nun Riot and Avalanche of Cheese. Randomized, mad-libs style band descriptions and images add to the fun.
Best Seller Course: Next.js & React – The Complete Guide (incl. Two Paths!)
What you’ll learn
- Testing Next . js UI, API, routes, authentication and database interactions
- When to use unit testing, integration testing and end-to-end testing — and why!
- Strategies for testing SSG, SSR, ISR and CSR (including cache updates and SWR revalidation intervals)
- How to use a test database for tests that involve data fetching and mutations
You May Also Need This Course: Complete Next.js Developer in 2023: Zero to Mastery