~/talk

Contract testing: Should or shouldn't?

Talkat JPoint 2020 · 2020-06-29..07-03· [testing, microservices]
links:none on file
slides:none on file

Three small services (Angular frontend, Spring Boot Java backend, Go microservice) demonstrate three approaches: Spring Cloud Contract generates Groovy-style contracts and Maven tests but needs fiddly plugin/config work and sometimes fails to start in containers; Pact produces JSON pact files quickly, spins up provider stubs and a broker, and is usable in minutes; Protocol Buffers compiles a single schema into Java/Go/TypeScript classes which works fast at runtime but makes cross-team changes costly.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 5:58What are contract tests?
  3. 11:40Team communication challenges
  4. 14:50API change impact demo
  5. 20:34Spring Cloud Contract overview
  6. 33:35Consumer-driven testing with Pact
  7. 45:45Pact Broker and versioning
  8. 55:22Protobuf as contract tool
  9. 1:01:25Comparison and final thoughts
  10. 1:08:14Q&A and closing remarks
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.