© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
E. ElromReact and Librarieshttps://doi.org/10.1007/978-1-4842-6696-0_10

10. Testing Part II: Development and Deployment Cycle

Elad Elrom1  
(1)
Montvale, NJ, USA
 

In the previous chapter, we did unit testing with the help of the Jest, Jest-dom, Enzyme, and Sinon libraries. Unit testing is just one type of testing. In addition to unit testing, end-to-end (E2E) testing simulates a real end user’s experience, and integration testing combines tests.

This chapter is split into two parts. In the first part, I will cover E2E testing and show you how to implement it using the Jest and Puppeteer libraries. In the second part of this chapter, I will cover how to create ...

Get React and Libraries: Your Complete Guide to the React Ecosystem now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.