~/talk

Simulating and Testing Third Party Service Integrations

Talkat Rubyfuza 2018 · 2018-02-01..02-03· [testing]
links:none on file
slides:none on file

A small Ruby library called request interceptor simulates HTTP services using a concise Sinatra app per service, runs as a Rack middleware in development, and records transactions for assertions via an RSpec matcher. It supports every HTTP client that web mock supports (work was done to integrate with web mock), can raise simulated infrastructure errors, and generates factory-backed JSON responses. It scales to large codebases (Shopify example: ~800 engineers) and fits into a 25 minute demo.

AI-written summary · about

  1. 0:00Start
  2. 2:24Managing External Dependencies
  3. 7:37Request Interceptor
  4. 14:53Simulate Infrastructure Errors
  5. 17:14Organize Our Interceptors
~/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.