Overview
Integration testing focuses on the interactions between different parts of the system, such as the communication between a service and its database, or between two different microservices.
Types
- Narrow Integration Tests: Test the interaction with a specific external dependency (e.g., using a real database).
- Broad Integration Tests: Test the interaction between multiple services in a staging-like environment.
Purpose
To expose faults in the interfaces and interaction between integrated components.