~/talk

Contract Driven Development-Deploy MicroServices Independently W/out Integration Testing

Talkat Agile India 2022 · 2022-09-22..09-24· [microservices, devops-and-delivery]
links:none on file
slides:none on file

Claim: API specs become executable contracts that let teams find compatibility bugs on laptops and in CI so integration environments stop blocking releases. The demo uses OpenAPI plus an open source tool Specmatic to auto-generate contract tests and smart mocks, producing ~42 generated tests then a later run that adds 16 more and exposes 26 failures (missing/nullable ID causing 500 instead of a 4xx). Workflow shows contract as stub for consumers, contract as test for providers, central git repo and semantic versioning to prevent breaking changes.

AI-written summary · about

  1. 0:00Start
  2. 1:40Demo
  3. 1:54Open Api Specification
  4. 5:28Generative Tests
  5. 6:14Why Is this Test Failed
  6. 11:24Compatibility Issue
  7. 15:36Api Specifications into Executable Contracts
  8. 18:10The Open Api Specification Sample
  9. 20:36Postman
  10. 23:38Adding a Product
  11. 32:24Workflow Tests
  12. 34:20Set Expectations
  13. 36:22Anatomy of a Component Test
  14. 37:07Act Section
  15. 40:46Test First Development
  16. 41:38Specmatic Test
  17. 43:17Contract Tests
  18. 46:13Test Data Management
  19. 58:01Backward Compatibility
  20. 1:11:24Central Contract Repo
  21. 1:11:35Why Do We Need To Treat Contracts as Code
~/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.