~/talk

Stop Writing Tests!

Talkat PyConline AU 2020 · 2020-09-04..09-06· [testing, developer-experience]
slides:none on file

Argues to write fewer hand-crafted examples and automate the hard choices by generating and checking properties; shows using pip install hypothesis to write property-based tests, a Hypothesis ghostwriter that inspects code and emits tests, and a persistent Hypothesis fuzzer that runs tests under coverage. Demonstrates real results: fuzzer finds five or six bugs overnight that previous week-long runs missed, and ghostwriter plus pytest uncovers encoding and round‑trip counterexamples in live demos.

AI-written summary · about

  1. 0:00Introduction
  2. 1:37What is testing
  3. 3:18Automated testing
  4. 5:07Testing examples
  5. 5:45Sorting a list
  6. 10:36Propertybased testing
  7. 12:17Branchbased testing
  8. 14:00Branchbased tests
  9. 15:42Hypothesis ghostwriter
  10. 22:21Hypothesis fuzz
  11. 26:24Questions
~/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.