Contract-Based Testing for Microservices and UI
summary
Describes a Pact consumer‑driven contract testing pipeline using a Pact Broker and provider verification in CI, with mock servers for isolated service tests and real Oracle/Postgres/Elastic databases in setup. The pipeline runs Dockerized tests in parallel (about 20 threads) to run ~1000 fast component tests and ~60 end-to-end checks across ~34 microservices in ~15 minutes, includes client‑side performance checks, achieved near‑100% pass targets and reduced testers to one per 62 developers, while noting it requires engineering effort and cross‑team agreement.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 3:23Pact for microservices
- 8:25Integration test pyramid
- 13:40UI mock testing
- 17:54UI tests in CI/CD
- 23:58Contract testing: why and how
- 33:54Pact recommendations
- 46:49Q&A
related talks
01h 21mMicro-Service Delivery Without the Pitfalls
32mConsumer-Driven Contract: A better approach for API Testing
24mHow to test microservices and stay sane
01h 13mContract Testing Made Easy: Master Pact for Microservices in C#
09m"Contract Testing 101"
22mContract Testing – An efficient way for integration testing
59mUsing Pact to Deploy Microservice with Confidence
23mContract Testing for Mobile Application Development
