React, thanks to its components, makes it easy to test our applications. There are many different tools that we can use to create tests with React, and here we'll cover the most popular ones to understand the benefits they provide.
Jest is an all-in-one testing framework solution, maintained by Christopher Pojer from Facebook and contributors within the community, and aims to give you the best developer experience.
By the end of the chapter, you'll be able to create a test environment from scratch and write tests for your application's components.
In this chapter, we will look at the following topics:
- Why it is important to test our applications, and how they help developers move faster
- How to set up a Jest environment to test components using Enzyme
- What React Testing Library is and why it is a must-have for testing React applications
- How...