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

Ruby on Rails: An Introduction
Johns Hopkins University via Coursera
Internet of Things Capstone: Build a Mobile Surveillance System
University of California, San Diego via Coursera
Engineering Maintainable Android Apps
Vanderbilt University via Coursera
Orientação a Objetos com Java
Instituto Tecnológico de Aeronáutica via Coursera
TDD – Desenvolvimento de Software Guiado por Testes
Instituto Tecnológico de Aeronáutica via Coursera