~/talk

Fully Automated Testing

Talkat PyOhio 2021 · on Saturday, 2021-07-31· [testing, ai-assisted-development]
slides:none on file

Hypothesis adds a CLI called Ghostwriter that generates property tests from function names and signatures and it immediately finds missing cases like the key and reverse arguments for sorted. Generated JSON roundtrip tests surface two failures: NaN not equaling itself and infinity rejected when allow_nan=False. Fixes include using assume to filter NaN and restricting floats, and after those edits the generated tests run and pass, demonstrating practical automation beyond hand‑written examples.

AI-written summary · about

  1. 0:00Introduction
  2. 0:36Testing
  3. 3:26Hypothesis
~/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.