~/talk

Micro Testing Pains

Talkat Rocky Mountain Ruby 2014 · 2014-09-24..09-26· [microservices, testing]
links:none on file
slides:none on file

Argues that consumer-driven contracts solve brittle microservice integration tests by making contracts executable and verifiable. Builds a Ruby gem called pactu (and notes an independent Java pact library) that uses JSON Schema to generate stubs via WebMock and to validate providers, turning vague CI failures into specific type/structure errors. Claims this approach lets teams evolve in parallel, eliminates flaky shared-environment tests and noisy VCR cassettes, and produces actionable failures rather than “couldnt find element” style messages.

AI-written summary · about

  1. 0:00Intro
  2. 0:22Micro Testing Pains
  3. 0:53The mythical Monolith
  4. 3:19Easily replaceable Technology decoupled Simple to understand Natural workstream separation
  5. 4:32The total complexity in a system remains the same
  6. 4:45simple services complex ecosystem
  7. 4:55Deploying Performance Security Monitoring
  8. 5:32Different teams Different tech stacks The famous Conway's Clusterfuck
  9. 5:57Acceptance Tests! integration tests, customer tests, coffee break tests, for the love of god get green tests
  10. 7:02How to be sure you are not ruining someone else's day?
  11. 7:57Run all the services in your dev box!
  12. 8:53Run your tests against a shared environment
  13. 9:51Stub all the dependencies
  14. 10:30VCR all the things!
  15. 11:37Let me tell you a sad story
  16. 12:22Run your integrated tests in isolation
  17. 12:37The subset of functionality a service needs from another service
  18. 14:43Looks like a Stub...
  19. 14:54Isolated and integrated tests
  20. 15:26For Pacto, contracts are defined as json schema files
  21. 18:12Consumer Driven Contracts!
  22. 20:16Put the focus back on the consumers
  23. 20:37Contracts as a communication tool
  24. 21:09Test in isolation with Executable Contracts
~/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.