HypothesisWorks/hypothesis
The property-based testing library for Python observed · 2026-08-28
Health v2 · maintenance only
95/100
- Activity 99
- Release rhythm 86
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 4924
- days_rel: 17
- days_push: 8
- n_releases_24m: 330
Adoption not part of the score
8913 stars · 672 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Hypothesis is the property-based testing library for Python, generating randomized test inputs from user-described strategies and shrinking failures to minimal examples. It integrates with pytest, unittest, and other runners and is the most widely used property-based testing tool.
Use cases
- generate random test inputs for python functions
- find edge cases in my code automatically
- shrink failing test cases to minimal examples
- property-based testing with pytest
- test sorting or parsing functions against all inputs
- fuzz test python libraries
When to choose
- you write Python tests and want broader input coverage than hand-written examples
- you want automatic edge-case discovery and minimal failing examples
- you use pytest or unittest and want a drop-in testing extension
When to avoid
- you need property-based testing in a non-Python language
- you only need deterministic example-based unit tests
- you need coverage-guided binary fuzzing of compiled code
Facets
library · maturity stable
testing fuzzing benchmarking testing developer-tools python cross-platform cli property-based-testing pytest test-generation shrinking randomized-testing python
2 sources
- readme: https://github.com/HypothesisWorks/hypothesis · fetched 2026-08-28 · bdea363861e9
- homepage: https://hypothesis.works · fetched 2026-08-29 · 6a8d595ede7c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| HypothesisWorks/hypothesis | main | 95 |
For agents
markdown · JSON · MCP: product_card(name="HypothesisWorks/hypothesis")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem