8 Automated testing for microservices
This chapter covers
- Automated testing of microservices
- Unit testing and integration testing with Jest
- End-to-end testing with Cypress
- Adding automated testing to your continuous delivery pipeline
To this point in the book while building microservices, we have tested our code manually. In this chapter, though, we’ll shift up a gear and learn how to apply automated testing to our microservices.
So far, we have primarily done our testing by running our code and visually inspecting the output. In various chapters, we used our web browser, the output from the command line, or changes in the local filesystem to check the results of our code. In other chapters, we used more specific tools like Robo3T in chapter ...
Get Bootstrapping Microservices with Docker, Kubernetes, and Terraform 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.