Reliable End to End Testing with API Contracts using Cypress & Pactflow
summary
Shows how Cypress tests call a Pactflow stub endpoint via a Cypress task and an intercept so frontend E2E runs without external APIs, with contracts published to a Pact broker and provider services running local verification and publishing results. Demonstrates consumer-driven contracts that produce verified Pactflow stubs, explains bidirectional import for legacy APIs, and claims faster, more reliable feedback by shifting integration checks to the contract boundary rather than full integrated environments.
AI-written summary · about
chapters (7)
- 0:00Introduction to API testing
- 3:33Challenges in integration
- 7:06The concept of contract testing
- 13:44Implementing contract frameworks
- 18:29Cypress and Pactflow demo
- 21:42Practical code walkthrough
- 25:07Audience Q&A
related talks
07mTesting Microservices End-to-End in Isolation with API Contracts
01h 13mContract Testing Made Easy: Master Pact for Microservices in C#
32mConsumer-Driven Contract: A better approach for API Testing
47mEasier Adoption of Contract Testing With Bidirectional Contracts
47mContract-Based Testing for Microservices and UI
59mUsing Pact to Deploy Microservice with Confidence
24mHow to test microservices and stay sane
23mContract Testing for Mobile Application Development
