Hypothesis
Quick start guide
An example
Installing
Running tests
Writing tests
Where to start
Details and advanced features
Additional test output
Test Statistics
Making assumptions
How good is assume?
Defining strategies
The gory details of given parameters
Custom function execution
Using Hypothesis to find values
Inferred Strategies
Limitations
Settings
Available settings
Controlling What Runs
Seeing intermediate result
Building settings objects
Default settings
settings Profiles
Timeouts
What you can generate and how
Shrinking
Adapting strategies
Mapping
Filtering
Chaining strategies together
Recursive data
Composite strategies
Drawing interactively in tests
Additional packages
hypothesis[pytz]
hypothesis[datetime]
hypothesis[fakefactory]
Hypothesis for Django users
Tips and tricks
Custom field types
Generating child models
Using default field values
Hypothesis for the Scientific Stack
numpy
pandas
Supported Versions
Health checks
The Hypothesis Example Database
Limitations
File locations
Upgrading Hypothesis and changing your tests
Sharing your example database
Stateful testing
Rule based state machines
Preconditions
Invariant
Generic state machines
More fine grained control
Compatibility
Python versions
Operating systems
Testing frameworks
Optional Packages
Regularly verifying this
Hypothesis versions
Some more examples
How not to sort by a partial order
Time zone arithmetic
Condorcet’s Paradox
Fuzzing an HTTP API
Community
Code of conduct
What happens when this goes wrong?
The Purpose of Hypothesis
Testimonials
Stripe
Kristian Glass - Director of Technology at LaterPay GmbH
Seth Morton
Sixty North
mulkieran
Adam Johnson
Josh Bronson
Cory Benfield
Jon Moore
Russel Winder
Wellfire Interactive
Cody Kochmann
Merchise Autrement
Your name goes here
Open Source Projects using Hypothesis
Projects extending Hypothesis
Changelog
3.44.1 - 2017-12-18
3.44.0 - 2017-12-17
3.43.1 - 2017-12-17
3.43.0 - 2017-12-17
3.42.2 - 2017-12-12
3.42.1 - 2017-12-10
3.42.0 - 2017-12-09
3.41.0 - 2017-12-06
3.40.1 - 2017-12-04
3.40.0 - 2017-12-02
3.39.0 - 2017-12-01
3.38.9 - 2017-11-29
3.38.8 - 2017-11-29
3.38.7 - 2017-11-29
3.38.6 - 2017-11-28
3.38.5 - 2017-11-23
3.38.4 - 2017-11-22
3.38.3 - 2017-11-21
3.38.2 - 2017-11-21
3.38.1 - 2017-11-21
3.38.0 - 2017-11-18
3.37.0 - 2017-11-12
3.36.1 - 2017-11-10
3.36.0 - 2017-11-06
3.35.0 - 2017-11-06
3.34.1 - 2017-11-02
3.34.0 - 2017-11-02
3.33.1 - 2017-11-02
3.33.0 - 2017-10-16
3.32.2 - 2017-10-15
3.32.1 - 2017-10-13
3.32.0 - 2017-10-09
3.31.6 - 2017-10-08
3.31.5 - 2017-10-08
3.31.4 - 2017-10-08
3.31.3 - 2017-10-06
3.31.2 - 2017-09-30
3.31.1 - 2017-09-30
3.31.0 - 2017-09-29
3.30.4 - 2017-09-27
3.30.3 - 2017-09-25
3.30.2 - 2017-09-24
3.30.1 - 2017-09-22
3.30.0 - 2017-09-20
3.29.0 - 2017-09-19
3.28.3 - 2017-09-18
3.28.2 - 2017-09-18
3.28.1 - 2017-09-16
3.28.0 - 2017-09-15
3.27.1 - 2017-09-14
3.27.0 - 2017-09-13
3.26.0 - 2017-09-12
3.25.1 - 2017-09-12
3.25.0 - 2017-09-12
3.24.2 - 2017-09-11
3.24.1 - 2017-09-06
3.24.0 - 2017-09-05
3.23.3 - 2017-09-05
3.23.2 - 2017-09-01
3.23.1 - 2017-09-01
3.23.0 - 2017-08-31
3.22.2 - 2017-08-29
3.22.1 - 2017-08-28
3.22.0 - 2017-08-26
3.21.3 - 2017-08-26
3.21.2 - 2017-08-25
3.21.1 - 2017-08-24
3.21.0 - 2017-08-23
3.20.0 - 2017-08-22
3.19.3 - 2017-08-22
3.19.2 - 2017-08-21
3.19.1 - 2017-08-21
3.19.0 - 2017-08-20
3.18.5 - 2017-08-18
3.18.4 - 2017-08-18
3.18.3 - 2017-08-17
3.18.2 - 2017-08-16
3.18.1 - 2017-08-14
3.18.0 - 2017-08-13
3.17.0 - 2017-08-07
3.16.1 - 2017-08-07
3.16.0 - 2017-08-04
3.15.0 - 2017-08-04
3.14.2 - 2017-08-03
3.14.1 - 2017-08-02
3.14.0 - 2017-07-23
3.13.1 - 2017-07-20
3.13.0 - 2017-07-16
3.12.0 - 2017-07-07
3.11.6 - 2017-06-19
3.11.5 - 2017-06-18
3.11.4 - 2017-06-17
3.11.3 - 2017-06-11
3.11.2 - 2017-06-10
3.11.1 - 2017-05-28
3.11.0 - 2017-05-23
3.10.0 - 2017-05-22
3.9.1 - 2017-05-22
3.9.0 - 2017-05-19
3.8.5 - 2017-05-16
3.8.4 - 2017-05-16
3.8.3 - 2017-05-09
3.8.2 - 2017-04-26
3.8.1 - 2017-04-26
3.8.0 - 2017-04-23
3.7.4 - 2017-04-22
3.7.3 - 2017-04-21
3.7.2 - 2017-04-21
3.7.1 - 2017-04-21
3.7.0 - 2017-03-20
3.6.1 - 2016-12-20
3.6.0 - 2016-10-31
3.5.3 - 2016-10-05
3.5.2 - 2016-09-24
3.5.1 - 2016-09-23
3.5.0 - 2016-09-22
3.4.2 - 2016-07-13
3.4.1 - 2016-07-07
3.4.0 - 2016-05-27
3.3.0 - 2016-05-27
3.2.0 - 2016-05-19
3.1.3 - 2016-05-01
3.1.2 - 2016-04-30
3.1.1 - 2016-04-29
3.1.0 - 2016-03-06
3.0.5 - 2016-02-25
3.0.4 - 2016-02-24
3.0.3 - 2016-02-23
3.0.2 - 2016-02-18
3.0.1 - 2016-02-18
3.0.0 - 2016-02-17
2.0.0 - 2016-01-10
1.19.0 - 2016-01-09
1.18.1 - 2015-12-22
1.18.0 - 2015-12-21
1.17.1 - 2015-12-16
1.17.0 - 2015-12-15
1.16.1 - 2015-12-14
1.16.0 - 2015-12-08
1.15.0 - 2015-11-24
1.14.0 - 2015-11-01
1.13.0 - 2015-10-29
1.12.0 - 2015-10-18
1.11.4 - 2015-09-27
1.11.3 - 2015-09-23
1.11.2 - 2015-09-23
1.11.1 - 2015-09-16
1.11.0 - 2015-08-31
1.10.6 - 2015-08-26
1.10.4 - 2015-08-21
1.10.3 - 2015-08-19
1.10.2 - 2015-08-19
1.10.0 - 2015-08-04
1.9.0 - 2015-07-27
1.8.5 - 2015-07-24
1.8.4 - 2015-07-20
1.8.3 - 2015-07-20
1.8.2 - 2015-07-18
1.8.1 - 2015-07-17
1.8.0 - 2015-07-16
1.7.2 - 2015-07-10
1.7.1 - 2015-06-29
1.6.2 - 2015-06-08
1.6.1 - 2015-05-21
1.6.0 - 2015-05-21
1.5.0 - 2015-05-14
1.4.0 - 2015-05-04
1.3.0 - 2015-05-22
1.2.1 - 2015-04-16
1.2.0 - 2015-04-15
1.1.1 - 2015-04-07
1.1.0 - 2015-04-06
1.0.0 - 2015-03-27
0.9.2 - 2015-03-26
0.9.1 - 2015-03-25
0.9.0 - 2015-03-23
0.7.2 - 2015-03-22
0.7.1 - 2015-03-21
0.7.0, - 2015-03-20
0.6.0 - 2015-03-13
0.5.0 - 2015-02-10
0.4.3 - 2015-02-05
0.4.2 - 2015-02-04
0.4.1 - 2015-02-03
0.4.0 - 2015-01-21
0.3.2 - 2015-01-16
0.3.1 - 2015-01-13
0.3.0 - 2015-01-12
0.2.2 - 2015-01-08
0.2.1 - 2015-01-07
0.2.0 - 2015-01-07
0.1.4 - 2013-12-14
0.1.3 - 2013-05-03
0.1.2 - 2013-03-24
0.1.1 - 2013-03-24
0.1.0 - 2013-03-23
0.0.5 - 2013-03-13
0.0.4 - 2013-03-13
0.0.3 - 2013-03-13
0.0.2 - 2013-03-12
0.0.1 - 2013-03-10
Ongoing Hypothesis Development
Release Policy
Project Roadmap
Help and Support
Packaging Guidelines
Release tarballs
Dependencies
Python versions
Other Python libraries
Testing Hypothesis
Examples
Reproducing Failures
Providing explicit examples
Reproducing a test run with
@seed
Reproducing an example with with
@reproduce_failure
Hypothesis
Docs
»
Please activate JavaScript to enable the search functionality.