Test Driven Development for Microservices Using Spring Cloud Contracts & Cloud Foundry
summary
Shows a concrete CDC workflow that uses Spring Cloud Contract and Cloud Foundry to generate both auto-generated JUnit tests and WireMock stubs from Groovy DSL contracts, publishes stub jars to a Maven repo, and runs stubs locally (demo uses port 6565). The pipeline catches a real mismatch (status vs userLoginCheckStatus), generates a failing build, then regenerates tests and stubs and produces a green build, proving the approach works end to end.
AI-written summary · about
chapters (7)
- 0:00Introduction and context
- 7:46Consumer-driven contracts explained
- 12:28Service evolution with contracts
- 17:49Testing isolation with stubs
- 22:37Spring Cloud Contract workflow
- 25:06Demo recap and benefits
- 29:14Resources and Q&A
related talks
30mManaging APIs and Contracts in a Microservices World Using Spring Cloud Contract
47mCollaborative Contract Driven Development
01h 04mConsumer Driven Contracts and Your Microservice Architecture
17mConsumer driven development with Spring cloud contract
49mCollaborative Contract Driven Development
33mPractical Contract Testing with Spring Cloud Contract
45mREST and Messaging contracts with Spring Cloud Contract
52mBootiful Testing
