Stop Writing Tests!
summary
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
chapters (11)
- 0:00Introduction
- 1:37What is testing
- 3:18Automated testing
- 5:07Testing examples
- 5:45Sorting a list
- 10:36Propertybased testing
- 12:17Branchbased testing
- 14:00Branchbased tests
- 15:42Hypothesis ghostwriter
- 22:21Hypothesis fuzz
- 26:24Questions
related talks
17mStop Writing Tests!
27mI hate writing tests, that's why I use Hypothesis
30mStop writing tests!
42mI hate writing tests, that's why I use Hypothesis
27mI hate writing tests, that's why I use Hypothesis
31mAdventures in not writing tests
30mI Hate writing Tests, That's Why I Use Hypothesis
10mFully Automated Testing
