YoVDO

Testing a Next.js App with React Testing Library & Jest

Offered By: Dave Gray via YouTube

Tags

Next.js Courses Web Development Courses Typescript Courses JEST Exam Courses Unit Testing Courses Integration Testing Courses React Testing Library Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn how to test a Next.js application using React Testing Library and Jest in this comprehensive tutorial video. Explore the differences between unit testing and integration testing, and discover how to implement both in a Next.js environment. Gain hands-on experience writing unit tests for various components, including Nav, Header, TodoItem, TodoList, and AddTodo. Dive into integration testing for the entire application and understand the nuances of testing in Next.js 13. Master essential concepts such as Testing Library query types and proper test folder organization. Follow along with practical examples and gain valuable insights to enhance your web development skills and create more robust 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

Related Courses

DEV201x: Introduction to TypeScript
Microsoft via edX
Developing Dynamic Web Applications Using Angular
Microsoft via edX
Introduction to TypeScript 2
Microsoft via edX
Multiplatform Mobile App Development with NativeScript
The Hong Kong University of Science and Technology via Coursera
Angular Fundamentals
Microsoft via edX