~/talk

Contract Testing Made Easy: Master Pact for Microservices in C#

Talkat JetBrains .NET Days Online 2024 · 2024-09-25..09-26· [microservices, testing]
slides:none on file

Shows how consumer-driven contracts with Pact and Pact.Net turn slow flaky end-to-end suites into fast, local checks: the consumer test Pact.Net consumer test generates JSON pact then the provider runs a verifier that fails if headers, status codes or body fields differ. Demo includes a C# consumer and products API provider, failing when a required culture header is missing, and a Pact Broker via Docker Compose to publish/version pacts for CI verification.

AI-written summary · about

  1. 0:00Contract testing challenges
  2. 3:21Unit vs integration testing limits
  3. 8:44End-to-end testing pitfalls
  4. 15:27Semantic breakages and contracts
  5. 20:21Pact for consumer-driven testing
  6. 29:07Pact demo in C# consumer tests
  7. 41:12Verifying provider contracts
  8. 57:43Pact Broker for contracts
  9. 1:02:24Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.