~/talk

Testing HTTP APIs with Ruby

Talkat MountainWest RubyConf 2013 · 2013-04-03..04-05· [testing, web-platform]
links:none on file
slides:none on file

Claim: a validated fake representation of the API gives fast local development and reliable CI verification. Implements an in-memory Sinatra fake that quacks like the real server, ships a mock mode (Fog/FakeWeb/WebMock mentioned), and switches to CI against real sandbox so tests run fast locally and hit the real API on CI. Examples use Faraday or Rack client redirection, show a 50-item limit test, and report it works but requires maintaining the fake and can confuse code navigation.

AI-written summary · about

  1. 0:00Start
  2. 1:25Problem statement
  3. 4:37How do we test API's?
  4. 8:09Sandboxes
  5. 12:30Fake servers
  6. 19:13Mapper style
  7. 23:29Conclusions
  8. 24:53More resources
~/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.