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

Pluralsight

Testing React 16 Applications with Jest 26

via Pluralsight

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
This video tutorial will teach you introductory Jest testing techniques, including running tests, snapshot testing, testing React components and module mocking.

At the heart of building durable and reliable React applications is a solid understanding of testing, starting with Jest. In this course, Testing React Applications with Jest, you will learn everything you need to do to create solid tests for your React components and applications. First, you’ll learn how to install Jest on any machine, run tests with it via the command line, and integrate it with any Node project. Next, you’ll dive into the various testing techniques, including globals, mocking, and snapshot testing that you can use to make your tests more readable and efficient. Finally, you'll explore how to use all these techniques to test React components and the applications they belong to. When you’re finished with this course, you’ll be able to immediately start writing tests for your React applications, discuss testing strategies and techniques in the workplace, and facilitate development by setting up and configuring Jest.

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 Testing React 16 Applications with Jest 26

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.