~/talk

Webmock unmocked

Talkat wroc_love.rb 2024 · 2024-04-12..04-14· [testing]
slides:none on file

webmock is a Ruby gem that stops HTTP calls by returning declared fake responses and separately verifies which requests ran; it reports stubbing instructions on unexpected real requests. It supports timeouts, basic auth, replaying curl responses, and powers VCR. The project shows concrete scale: ~250 million downloads, ~4,000 GitHub stars, ~260 contributors and ~8,000 dependent gems. Implementation uses an adapter per client that monkeypatches client classes via constant replacement, global registries, and a clear stubbing and verification DSL.

AI-written summary · about

  1. 0:00Introduction and background
  2. 2:33What is WebMock and its core features
  3. 8:26Why mock HTTP requests
  4. 11:27Advantages of WebMock over custom solutions
  5. 16:04How WebMock works internally
  6. 28:33The story behind WebMock
  7. 31:45Thanking the Ruby community
  8. 32:09Q&A session
~/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.