I Hate writing Tests, That's Why I Use Hypothesis
summary
Hypothesis is a Python property-based testing library that uses composable strategies for inputs and demonstrates with a round‑trip encode/decode example that it finds edge cases like the empty string. The Ghostwriter CLI generates runnable tests from type hints so it generates tests (ghostwriter) from type hints, supports numpy and pandas extras for array and DataFrame strategies, and exposes tradeoffs: it surfaces real bugs but can be slow on very large libraries and works best with good typing.
AI-written summary · about
chapters (7)
- 0:00Intro
- 3:18Propertybased testing
- 11:27Why use Hypothesis
- 14:30GhostWriter
- 17:42Why GhostWriter is so smart
- 22:45Considerations before using Hypothesis
- 25:47Questions








