Testing React.js Applications with Jest: A Complete Introduction to Fast, Easy Testing

Video description

Learn how to use Jest by viewing easy-to-follow screencasts accompanied by clear instructions. In this complete video introduction to Jest, the testing framework from Facebook, you’ll discover how Jest can test any JavaScript application, and that it is widely used to test React.js applications. Testing React.js Applications with Jest will lay out the entire process, allowing you to see Jest in action with your own eyes.

You’ll see that comprehensive testing of JavaScript-based web applications is a significant task, and many of the solutions that have emerged over the years have been cumbersome and involved integrating many different tools. With the help of this video you’ll replace these multiple tools and create a fast, comprehensive service that supports advanced features such as snapshots. Along the way you’ll learn how to build Jest into applications using create-react-app.

This video course will cover Jest performance, ease of use and configuration, mocking and advanced features - it is a comprehensive guide to the framework that will make testing React.js applications a breeze.

What You Will Learn
  • Use Jest effectively to test React.js applications using best practices 
  • Integrate testing into your current development process
  • Make your tests easy to set up and fast
  • Work with the advanced capabilities of Jest without additional dependencies
Who This Video Is For

Web developers interested in best practice and improving the quality of their code and overall systems without introducing friction into their development process.

Table of contents

  1. Introduction 00:02:26
  2. Automated Testing and Jest 00:06:25
  3. Configuring Jest 00:07:38
  4. Basic Testing with Jest 00:11:18
  5. Using Jest Mocks 00:08:56
  6. Coverage Reports with Jest 00:07:50
  7. Jest Does Snapshots 00:11:49
  8. Delta Testing with Jest 00:04:58
  9. Conclusion 00:01:13

Product information

  • Title: Testing React.js Applications with Jest: A Complete Introduction to Fast, Easy Testing
  • Author(s): Gigi Sayfan
  • Release date: May 2019
  • Publisher(s): Apress
  • ISBN: 9781484239803