Overview
This course teaches how to test a Next.js app using React Testing Library and Jest. The learning outcomes include understanding unit testing vs integration testing, organizing tests in Next.js, and writing tests for various components like Nav, Header, TodoItem, TodoList, and AddTodo. The course covers topics such as testing library query types and provides insights on Next.js 13. The teaching method involves a tutorial format with practical examples and references to Next.js, React Testing Library, Jest, and TypeScript. The intended audience for this course is web developers interested in learning how to effectively test Next.js applications.
Syllabus
Intro
Welcome
Recommended Prerequisites
Lesson Goals
Starter Code
Example App Preview
Unit vs Integration vs E2E Tests
Testing Library Query Types
__tests__ folder organization
Nav component
Header component unit tests
TodoItem component unit tests
TodoList component unit tests
AddTodo component unit tests
App Integration Tests
Notes about Next.js 13
Taught by
Dave Gray