Chapter 5. Integration-testing microservices
This chapter covers
- Understanding integration tests in a microservices architecture context
- Differentiating between integration and component tests
- Writing integration tests for persistence layers and gateway layers
- Operating with multiple deployments in Arquillian
In the preceding chapters, you read about how to write unit and component tests for a microservices-based architecture. There are also integration tests, which in the microservices world have a meaning that’s slightly different than in other architectures.
Integration tests check the interactions between different modules (or classes), usually belonging to the same subsystem, to verify that they collaborate as expected when providing ...