Testing Interservice Interaction with Mocks
summary
A talk about testing inter-service interactions in a complex system: why traditional integration tests were unsuitable, why Pact did not work for their case, and the alternative they chose—verifying mocks inside functional tests. The presenter explains how mock-based integration verification is implemented in practice and discusses its advantages and drawbacks.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 1:03What we test and why
- 3:34Staging testing problems
- 4:57Local testing drawbacks
- 6:22Mocking with Docker
- 8:47Integration testing challenges
- 10:11Contract testing overview
- 16:52Pact limitations
- 17:12Mock-based approach
- 22:29Mock validation plugin
- 26:20Integration limits
- 27:45Results and plans
- 29:11Q&A
