Fully Automated Testing
summary
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








