Skip to main content

A library for property based testing

Project description

Hypothesis is a library for testing your Python code against a much larger range of examples than you would ever want to write by hand. It’s based on the Haskell library, Quickcheck, and is designed to integrate seamlessly into your existing Python unit testing work flow.

Hypothesis is both extremely practical and also advances the state of the art of unit testing by some way. It’s easy to use, stable, and extremely powerful. If you’re not using Hypothesis to test your project then you’re missing out.

Hypothesis works with most widely used versions of Python. Officially it supports 2.6, 2.7 and 3.3+, but 3.0 through 3.2 will probably also work in the unlikely event that you’re using them. Both CPython and PyPy are fully supported.

Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hypothesis-1.11.2.tar.gz (74.1 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page