10
All About Testing the Solution
When creating microservices and using continuous integration and continuous delivery (CI/CD), finding errors early is an important part. Having errors in production is costly, and it’s best to find them as early as possible. Testing helps reduce costs by finding errors early.
This chapter covers different kinds of tests needed with microservices solutions. We start creating unit tests, which should be the major tests used because issues are found fast, followed by integration tests, where multiple components of the solution are tested in collaboration. Integration tests can be done in-process where HTTP requests are simulated and in an environment where services are running on the systems, which allows you to ...
Get Pragmatic Microservices with C# and Azure 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.