~/talk

"Make External API Dependency Great Again (API Contract Testing)"

Talkat RubyConfBY 2018 · on Saturday, 2018-04-21· [ruby, testing]
links:none on file
slides:none on file

Shows a concrete contract-testing setup that catches API surprises before they hit domain code: plain Ruby guarantees and expectations that validate shape and business rules, raw HTTP capture via a sniffer, per-call sampling and hot switch to store full request/response sessions, and usage statistics to spot untaught edge cases. Presents the open source BloodContracts gem, used in production against eBay, Twitter and DHL quirks (e.g. Twitter only returns last-week tweets, DHL adding a warnings field) and reports it works and will be released.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:25Root cause analysis of API issues
  3. 4:00Poor boundaries and schema validation
  4. 7:30Lost in translation and idempotency
  5. 11:25Design by contracts approach
  6. 15:47Break and intermission
  7. 16:08When to apply contracts
  8. 22:57Highway level communication
  9. 25:48Introducing Blood Contracts
  10. 33:05Recap and final thoughts
  11. 34:32Q&A session
~/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.