Skip to content
JS

Testing React Applications, v2

Course on Master.dev by Kent C. Dodds

View on Master.dev (opens in a new tab)
4 h 11 min
LengthVideo runtime
Subscription
Price modelMaster.dev plan
36
Lessons
May 2018
Published13 May 2018

About this course

Description from Master.dev

Learn to catch errors before they reach the end user with automated tests! Write maintainable tests for your React applications using the popular Jest testing framework. You'll also see how much of your code is covered in tests, test your React components with the react-testing library and write end-to-end tests with Cypress and the cypress-testing library. Join Kent and learn how to test your code in-depth. This course is for developers who want to gain confidence in shipping bug-free React applications to production!

What it covers

36 lessons
  1. 01

    Introduction

    1. Course Overview
    2. Testing Fundamentals
    3. Writing a React Test & Exercise
    4. Writing a React Test Solution
  2. 02

    Test Configurations

    1. Configuring Jest & Babel
    2. Jest JSDOM
    3. CSS Imports
    4. CSS Modules
    5. Handling Dynamic Imports
    6. Adding Code Coverage Reports
    7. Jest Watch Mode
    8. Jest Config Review
  3. 03

    Unit Testing React Components

    1. Course Project Overview
    2. Unit Testing a React Component
    3. Test a Form Component Exercise
    4. Test a Form Component Solution
    5. Enzyme Limitations
    6. react-testing-library
    7. react-testing-library Exercise
    8. react-testing-library Solution
    9. Using DOM Events Exercise
    10. Using DOM Events Solution
    11. Component Testing Q&A
  4. 04

    Snapshot Testing

    1. Introducing Snapshot Testing
    2. Snapshot Testing Exercise
    3. Snapshot Testing Solution
    4. Snapshot Q&A
  5. 05

    Integration Testing Pages

    1. Integration Tests Demo
    2. Integration Tests Exercise
    3. Integration Tests Solution
    4. Integration Testing Q&A
  6. 06

    Configuring Cypress

    1. Cypress
    2. Cypress Q&A
    3. Configuring Cypress Exercise
    4. Configuring Cypress Solution
  7. 07

    Wrapping Up

    1. Testing Trophy

Similar React courses

  1. React Performance, v2

    Master.dev · Steve Kinney · 24 lessons · Nov 2025

    4 h 11 minSubscription
    Master.dev24Nov 2025
  2. Intermediate4 h 12 min
    CourseraJul 2025
  3. Intermediate4 h 17 min
    CourseraJul 2025
  4. Integrating Apollo Client with React Applications

    Educative · Ryan Bigg · 29 lessons · Nov 2024

    Intermediate4 hSubscription
    Educative29Nov 2024
  5. Learn React Testing

    Codecademy · 2 lessons · Jun 2021

    Intermediate4 h
    Codecademy2Jun 2021
  6. Learn React: Hooks

    Codecademy · 2 lessons · Oct 2022

    Beginner4 h
    Codecademy2Oct 2022
  7. React and TypeScript, v3

    Master.dev · Steve Kinney · 26 lessons · Nov 2025

    4 h 23 minSubscription
    Master.dev26Nov 2025
  8. React.js (with Introduction to Flux Architecture)

    Master.dev · Ryan Florence · 34 lessons · May 2015

    4 h 28 minSubscription
    Master.dev34May 2015

A hyphen means the provider's catalogue does not state the value.

Same topic, nearest in length, up to three from any one provider.

Data read from the Master.dev catalogue on 28 Nov 2026. How the data is collected.

    Compare