~/talk

Test faster, fix more

Talkat foss-north 2019 · 2019-04-07..04-10· [testing, python]
slides:none on file

Introduces property based testing with Hypothesis for Python, generating thousands of inputs (lists, datetimes, floats, strings, Swagger-driven APIs) and using shrinking to produce minimal failing examples. Demonstrates a real bug where identity vs equality on short strings lets a bank match a buyer to themself and shows the fix (use != not is). Mentions stateful testing (rule-based state machines), local failure storage, and using property tests to compare implementations and catch subtle timezone and negative-ID bugs.

AI-written summary · about

  1. 0:00Introduction
  2. 1:10Who am I
  3. 2:24Outline
  4. 3:57What is propertybased testing
  5. 6:44Quick cheat sheet
  6. 8:59Hypothesis
  7. 11:36Minimal Usage
  8. 14:03Examples
  9. 15:04Strategies
  10. 17:17Stateful testing
  11. 18:49Demo
  12. 22:14Testing
  13. 27:57Conclusion
~/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.