Which test checks that two services work together?
Why A is the answer
An integration test
Integration tests cover how components work together.
In detail
- An integration test checks that services work together.
- Use it where components meet.
Use case
An illustrative scenario, not a real incident.
An integration test checks that orders reach billing, with both services running.
See it in different ways
flowchart TD A["Reliability testing"] --> B["Load testing: capacity"] A --> C["Chaos engineering: failure handling"] A --> D["Penetration testing: security"]
mindmap
root((Operations))
Tests
Load
Integration
Chaos
Penetration
Observability
Cloud Logging
Cloud Profiler
Learning
Blameless reviewsequenceDiagram participant P0 as Order service participant P1 as Billing service P0->>P1: Create invoice P1-->>P0: Confirm
Key point: Integration tests cover services together.
Why the other options are wrong
- B. A unit test for one function
- That checks one function.
- C. A load test only
- That checks peak traffic.
- D. A penetration test
- That checks for weaknesses.

