Testing React 16 Applications with Jest 26
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.
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.
Author Name: Daniel Stern
Author Description:
Daniel Stern is a coder, web developer and programming enthusiast from Toronto, Ontario, where he works as a freelance developer and designer. Daniel has been working with web technologies since the days of the dial-up, and is especially keen on JavaScript, CSS, Angular, React and TypeScript. Over the course of his work as an open-source developer, he’s created many community-standards web tools including Angular Audio and Range.CSS. His tool, Range.CSS, was featured in a guest article on CSS-T… more
Table of Contents
- 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
There are no reviews yet.