Testing React Applications with Jest

Jest is one of the best tools available for testing React applications. This course will teach you basic and intermediate Jest testing techniques, including running tests, snapshot testing, testing React components, and module mocking.
Course info
Rating
(38)
Level
Intermediate
Updated
May 11, 2018
Duration
3h 36m
Table of contents
Course Overview
Course Introduction
Understanding Testing
Introduction to Jest
Test Running with Jest
Mocking Functions and Modules
Snapshot Testing
Testing Components
Advanced Jest Matchers
Conclusion
Description
Course info
Rating
(38)
Level
Intermediate
Updated
May 11, 2018
Duration
3h 36m
Description

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.

About the author
About the author

Daniel Stern is a freelance web developer from Toronto, Ontario who specializes in Angular, ES6, TypeScript and React. His work has been featured in CSS Weekly, JavaScript Weekly and at Full Stack Conf in England.

More from the author
Isomorphic React
Intermediate
2h 44m
11 Jan 2018
Redux Saga
Advanced
2h 54m
21 Aug 2017
Advanced Redux
Advanced
2h 55m
2 Jun 2017
More courses by Daniel Stern