~/talk

Omg, how do I write software that isn't a ticking timebomb!?

Talkat NDC TechTown 2024 · 2024-09-09..09-12· [testing, devops-and-delivery]
slides:none on file

Shows concrete results using Property Based Testing with the Python tool Hypothesis to generate inputs, shrink failures and find real bugs—example: a numeric average implementation breaks on two huge floats; shrinking delivers a minimal counterexample. Describes combinator strategies like one_of, filtering and building structured objects, and a rule‑based state machine to fuzz a Flask blog (register/login/post) so sequences of actions expose logic bugs. Cites real incidents: 8.5 million devices crashed, ~2,000 flights cancelled, arguing PBT finds subtle, high‑impact faults and speeds debugging.

AI-written summary · about

  1. 0:00Introduction
  2. 1:07Property-based testing matters
  3. 5:00Software catastrophes causes
  4. 9:20Role of testing in development
  5. 13:14Testing compilers with property-based testing
  6. 14:38Chaos monkey and test oracle
  7. 16:26Property-based testing with Hypothesis
  8. 18:57Generating complex test data
  9. 20:00Testing serialization
  10. 23:41Abstract properties limitations
  11. 25:23Edge cases in average calculations
  12. 27:13Debugging with Hypothesis shrinking
  13. 30:47Stateful testing with Flask blog
  14. 39:22Expanding stateful testing model
  15. 40:25Next steps in property-based testing
~/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.