~/talk

I Hate writing Tests, That's Why I Use Hypothesis

Talkat PyData Tel Aviv 2022 · on Tuesday, 2022-12-13· [python, testing]
slides:none on file

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

  1. 0:00Intro
  2. 3:18Propertybased testing
  3. 11:27Why use Hypothesis
  4. 14:30GhostWriter
  5. 17:42Why GhostWriter is so smart
  6. 22:45Considerations before using Hypothesis
  7. 25:47Questions
~/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.