~/talk

Schema-based API-testing — Automatically generate test-cases with schemathesis

Talkat PiterPy 2020 · 2020-08-03..08-06· [testing, api-design]
slides:none on file

Automatically generates API test cases from OpenAPI/Swagger schemas using schemathesis + hypothesis and hypothesis-JSONSchema (GraphQL support in progress). Runs hundreds of randomized requests, exercises stateful workflows via stateful links, and caught a reproduced division-by-zero bug in the demo CRUD app. Supports HTTP or WSGI/ASGI import runs, has CLI and pytest hooks, built-in fixups for common spec issues, and targeted strategies to focus searches while keeping property-based randomness.

AI-written summary · about

  1. 0:00Introduction to schema-based API testing
  2. 1:57API schemas overview
  3. 5:28Problems with API schemas
  4. 9:23Property-based testing solution
  5. 11:50Introducing Schemathesis
  6. 16:07Live demo of Schemathesis
  7. 21:26Schemathesis feature overview
  8. 25:43Pytest integration
  9. 27:32Stateful testing
  10. 29:20Future of Schemathesis
  11. 30:25Conclusion and Q&A
~/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.