January 2020
Intermediate to advanced
640 pages
16h 56m
English
Integration tests pick up from where unit testing left off. Whereas unit testing ensures that each individual unit of a system works correctly in isolation, integration testing ensures that different units (or services, in a microservice architecture) interoperate correctly.
Let's consider a hypothetical scenario where we are building an e-shop application. Following the SOLID design principles, we have split our backend implementation into a bunch of microservices. Each microservice comes with its own set of unit tests and, by design, exposes an API that adheres to a contract agreed on by all engineering teams. For the purpose of this demonstration, and to keep things simple, we want to focus our efforts on authoring an ...