My learning journey

01 Aug 2026

Ref: https://www.ministryoftesting.com/courses/modern-integration-testing-tools-techniques-and-strategies-for-continuous-quality/consumer-driven-contract-testing

Summary

  • Project: Consumer/provider Pact contract for the GOV.UK VAT API. Important files: consumer.spec.js, provider.verify.js, and PACT_README.md.
  • Outcome: Built consumer interactions and a verifier; learned practical pitfalls running Pact locally (permissions, port binding, large local caches).

What I've Learned
  • Consumer-driven contracts: Write what the consumer expects (requests + example responses) and save it as a pact file — this documents real expectations and drives provider correctness.
  • Two-phase workflow: Consumer test → produce pact JSON; Provider verification → run pact against provider (live service) to ensure responses match.
  • Trust but verify: Pact lets consumers control the contract; provider verification prevents regressions and ensures real deployments satisfy consumers.
  • Repeatability: Contracts make integration tests deterministic — no flaky network calls or external dependencies during consumer tests.
  • Documentation value: Pact files are living API docs that help teams align on request/response shapes.
Shilpa Saraf profile image
Shilpa Saraf
Test Engineer
She

A senior Quality Assurance Leader and Engineer with more than 20 years of experience delivering high‑quality, scalable digital products across the public sector and large enterprise environments. Consistent ability to design, implement, and embed robust test strategies for complex, distributed systems spanning APIs, backend services, and modern user interfaces.

Open To
Work
Teach
Speak
Mentor
Review Conference Proposals
Write
Rosie Sherry
Very cool to see this learning log!

Simon Tomes
Nice one, Shilpa. Great to see this. Thanks for sharing.

Sign in to comment
Explore MoT
Test Forward'27 · Software Quality in the age of AI image
Tue, 19 Jan 2027
Register today to guarantee your spot!
Modern integration testing: Tools, techniques, and strategies for continuous quality image
Go beyond with modern integration testing—with faster feedback, simpler debugging, improved scalability and maintainability. Take the step to implement new test types including contract testing of course.
This Week in Quality image
Debrief the week in Quality via a community radio show hosted by Simon Tomes and members of the community
Subscribe to our newsletter