~/talk

Verified fakes with OpenAPI

Talkat PyCon.DE 2017 · 2017-10-25..10-27· [web-platform, python]
links:none on file
slides:none on file

Claim: keep test doubles honest by validating mocks against an API contract. Implementation details: use OpenAPI to validate requests and responses, generate fakes and run the same tests against mock and real service, and record interactions with tools like vcrpy. Code and server stack: a Python client bravado and the open source pyramid_mock_server that serves verified fakes. At Yelp this setup reduces drift between mocks and real services and is used for unit, acceptance tests and docs.

AI-written summary · about

  1. 0:00Introduction
  2. 0:57Why do you need Verified Fake
  3. 2:00Problems with fakes
  4. 3:15Verified fakes
  5. 4:34What is OpenAPI
  6. 5:45OpenAPI specification
~/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.