Contract testing verifies that services interact with each other as expected by defining and testing contracts between services to ensure backwards and forwards compatibility when services change. Integration tests test the full end-to-end flow between services while contract tests focus only on the interactions between two services. Pact is a tool that helps define and test contracts by mocking services and verifying requests and responses match what is expected.
1 of 5
Download to read offline
More Related Content
Contract testing - Baran Gayretli
1. Contract Testing
What is Contract Testing?
Integration tests vs Contract tests
How does Pact work?
PoC