Summary

Test-driven development (TDD) is an emerging software development approach in the current software development process. This approach ensures building a tested application that is easier to debug and maintain in the long run. In this chapter, we explored how we can use the Jest testing framework from Facebook to test our application. We discussed how we can test ES6 components, React components, and Redux components with Jest.

We recommend that the readers follow the TDD approach in their development paradigms. With this in mind, we are going to test our components in each chapter, using the information that we covered in this lesson. In Chapter 3, Routing, we will explore how Redux can amalgamate with React components to facilitate building a data-driven application.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset