Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Pluralsight

Mastering React Testing with Jest

via Pluralsight

Overview

This video tutorial will teach you introductory Jest testing techniques, including running tests, snapshot testing, testing React components and module mocking.

Testing web applications is one of the most important parts of the development process and Jest, the testing framework from the makers of React, is one of the newest and most powerful tools for doing so. In this course, we'll fully implement a suite Jest tests. The course will begin with a detailed overview of the Jest API and several hands on examples demonstrating how it works. Following that, we'll put together a full React application and then test a variety of its components using Jest and React Test Tools. Successful students of this course will be able to understand and apply the concepts of dependency mocking, testing Node modules, and testing asynchronous functionality.

Syllabus

  • Course Overview 1min
  • Course Introduction 15mins
  • Understanding Testing 22mins
  • Introduction to Jest 24mins
  • Test Running with Jest 37mins
  • Mocking Functions and Modules 24mins
  • Snapshot Testing 23mins
  • Testing Components 43mins
  • Advanced Jest Matchers 17mins
  • Conclusion 5mins

Taught by

Daniel Stern

Reviews

3.6 rating at Pluralsight based on 276 ratings

Start your review of Mastering React Testing with Jest

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.