~/talk

Sufficiently Advanced Testing

Talkat PyCon AU 2019 · 2019-08-02..08-06· [testing, machine-learning]
slides:none on file

Covers concrete techniques and working demos: Hypothesis minimization that automatically shrinks failing cases to a tiny repro, implementations of fuzzing driven by coverage, concolic execution and SAT‑solver use for finding path constraints, and higher‑level ideas like swarm testing and targeted property‑based testing. Shows a real bug found in the CPython parser, explains parser‑combinator strategies, and ends with an actionable takeaway: pip install hypothesis and write a round‑trip property test on Monday.

AI-written summary · about

  1. 0:00Introduction
  2. 1:36Outline
  3. 7:00exhaustive testing
  4. 8:46random input
  5. 11:16randomness
  6. 14:37code coverage
  7. 17:19percentage coverage
  8. 18:32fuzzing
  9. 22:01Propertybased testing
  10. 26:09Hypothesis overview
  11. 27:05Automating hypothesis
  12. 30:00Unit tests
  13. 35:44Cutting edge techniques
  14. 37:12Swarm testing
  15. 39:30Targeted property based testing
  16. 42:14Symbolic execution
  17. 44:11Sat solver
  18. 46:23Constructing programs
  19. 48:09Installing Hypothesis
  20. 49:46Migrating a single test
  21. 52:45Refactoring the test
~/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.