Summary

Let's summarize what we’ve learned in this chapter.

We'll cover the following

What did we learn?

Tests are a must for large-scale applications because, without them, any refactoring, especially major instances, could produce many hard-to-find bugs. At the start, it might be a bit hard to determine which tools to use and how to write tests. The tools and tips we’ve covered should help us write cleaner and more maintainable tests that don’t check implementation details and are less prone to fail if there are changes to underlying components. Jest and Cypress are two of the most popular testing tools and are great for unit and end-to-end testing respectively, and are even better when combined with the Testing Library.

Get hands-on with 1200+ tech skills courses.