Suggestions appear as you type. Use the up and down arrows to choose one and Enter to open it.

Hypothesis

Free#2 of 27 in Property-Based Testing Tools

Hypothesis: A focused Python library for generated inputs, shrinking, and stateful tests. Ranked #2 of 27 in Property-Based Testing Tools by our editors (9.3/10); pricing: Free plan; best for python teams using pytest.

9.3/10Editor score
Hypothesis9.3 Visit Hypothesis

At a glance

  • Editor score
    9.3 / 10
  • Pricing
    Free plan
  • Best for
    Python teams using pytest
  • Free plan
    Yes
  • Paid from
    Free
  • Supported languages
    Python
  • Facts checked
    20 Sep 2026
Hypothesis screenshot
  • Where it wins

    • Generates edge cases and automatically shrinks failing inputs
    • Supports rule-based stateful testing and failure replay
    • Works with both pytest and unittest across Windows, macOS, and Linux
  • Where it doesn't

    • Supports Python rather than multiple programming languages
    • Requires pytest or unittest instead of providing a standalone test runner
    • Property-based tests require teams to define strategies and properties

Our verdict on Hypothesis

Hypothesis is an open-source Python library for property-based testing. Developers define input strategies and properties, then it generates test cases to explore how code behaves, including unusual edge cases. It is aimed at Python teams that want broader input exploration within existing pytest or unittest workflows. The library covers Windows, macOS, and Linux, giving it practical platform breadth while remaining focused on Python testing.

Its standout capability is the failure workflow. Hypothesis automatically shrinks generated failing cases into simpler examples, helping teams isolate the input behind a defect. It also stores failures for later replay, supports explicit examples with @example, and provides serialized reproduction through @reproduce_failure. Rule-based stateful testing extends the approach beyond individual function inputs to sequences of operations and state transitions. Together, these features make Hypothesis suited to testing behavior where edge cases or interaction sequences are difficult to enumerate manually.

Integration is deliberately centered on established Python test suites rather than a separate runner. pytest and unittest support lets teams incorporate generated tests into those environments, while the open-source distribution keeps the tool focused on library-based adoption. Hypothesis should suit Python teams that want generation, shrinking, stateful testing, and reproducible failures in one testing library. Teams working outside Python, or those seeking a standalone test runner instead of an integrated library, should choose a different tool.

Questions about Hypothesis

What does Hypothesis run on? Windows, macOS and Linux. It runs as a desktop app.

What does Hypothesis integrate with? 2 integrations: pytest and unittest.

Who is Hypothesis built for? Solo users, small businesses, mid-market companies and enterprises (our editorial estimate).

Your product? Our editors can test Hypothesis in depth and publish a review, labelled as paid · from $149/mo →

Hypothesis pricing

Plans Free planFree Free to use — no paid tier required for the core job.
See plans on hypothesis.works

Hypothesis fact sheet

Free planYes
Paid fromFree
Supported languagesPython
Test runner supportpytest, unittest
Failing-case shrinkingYes
Stateful testingYes
Reproducible failuresYes
Cases per runNot verified
DeploymentDesktop
PlatformsWindows, macOS, Linux
SupportDocs, Community
Built forSolo, Small business, Mid-market, Enterprise (editorial estimate)
Integrations2 integrations: pytest, unittest
PricingFree plan
Websitehypothesis.works
Facts checked20 Sep 2026

Hypothesis integrations

Hypothesis lists 2 integrations on its own site.

  • pytest
  • unittest

Alternatives to Hypothesis

See all Hypothesis alternatives →

Hypothesis vs the competition

Compare Hypothesis with any tool side by side →

Used Hypothesis? Be the first to review it

The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used Hypothesis for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.

Write a reviewTwo minutes · verified accounts only · read by an editor before it appears

Reviews come only from verified accounts. Sign in or create an account first — your e-mail is never shown.

Your rating

0 characters · at least 80, up to 3,000

Posted from your verified account. Reviews appear after an editor reads them, usually within two working days.

Featured on iTechGuides

Featured on iTechGuides — Hypothesis 9.3/10

Hypothesis is listed in our Property-Based Testing Tools directory. Add the badge to your site — it links back to this page.

<a href="https://www.itechguides.com/products/hypothesis-property-based-testing-tool/"><img src="https://www.itechguides.com/best/badge/hypothesis-property-based-testing-tool.svg" alt="Featured on iTechGuides" width="230" height="46"></a>

Reviewed by iTechGuides Editors · Editorial team · Updated Nov 2026

Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.

Last updated · How we research and update