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.

Project details


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.3.tar.gz (74.2 kB view details)

Uploaded Source

File details

Details for the file hypothesis-1.11.3.tar.gz.

File metadata

  • Download URL: hypothesis-1.11.3.tar.gz
  • Upload date:
  • Size: 74.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for hypothesis-1.11.3.tar.gz
Algorithm Hash digest
SHA256 63700e12b01de5badd20cab8e9bbd7d0477db52e94ec541d8ce5e696c16be21f
MD5 8cc87495e008d6a0159b89c442161f12
BLAKE2b-256 6e6d7fc4db4833548657e4feb1d357950bd764d1729a91fefaed565a912a13c1

See more details on using hashes here.

Supported by

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