An integration test is the opposite of a unit test. In the microservice architecture, integration testing is typically used to verify interactions between different layers of integration code and external components such as database and external REST APIs. Integration test can be used to test other microservices, including data stores and caches.
Each microservice must be verified and tested individually, with well-performed unit test cases. However, each microservice communicates with other microservices, so the proper functioning of inter-service communications is a very critical part of microservice architecture testing. Microservice calls must be made successfully with integration with external services.
Microservice integration testing validates that the distributed system is working together with external dependencies smoothly, and also checks that all...