There is a newer version of this record available.

Software Open Access

Hypothesis: Property-Based Testing for Python

MacIver, David R.; Hatfield-Dodds, Zac; many other contributors

The Ghostwritter will now include type annotations on tests for type- annotated code. If you want to force this to happen (or not happen), pass a boolean to the new "annotate=" argument to the Python functions, or the "--[no-]annotate" CLI flag.

Thanks to Nicolas Ganz for this new feature!

The canonical version of these notes (with links) is on readthedocs.

If you use Hypothesis as part of a published research project, please cite our paper in the Journal of Open Source Software: Text: MacIver et al., (2019). Hypothesis: A new approach to property-based testing. Journal of Open Source Software, 4(43), 1891, https://doi.org/10.21105/joss.01891 BibTeX: @article{MacIver2019Hypothesis, journal = {Journal of Open Source Software}, doi = {10.21105/joss.01891}, issn = {2475-9066}, number = {43}, publisher = {The Open Journal}, title = {Hypothesis: A new approach to property-based testing}, url = {http://dx.doi.org/10.21105/joss.01891}, volume = {4}, author = {MacIver, David and Hatfield-Dodds, Zac and Contributors, Many}, pages = {1891}, date = {2019-11-21}, year = {2019}, month = {11}, day = {21}, } To reference a particular version of Hypothesis as a software artifact, you can use the version-specific DOIs we create for each release under https://doi.org/10.5281/zenodo.1412597
Files (9.8 MB)
Name Size
HypothesisWorks/hypothesis-hypothesis-python-6.64.0.zip
md5:22b4a334ce0d66433fae4a960397f5b5
9.8 MB Download
6,908
22,977
views
downloads
All versions This version
Views 6,9086
Downloads 22,9771
Data volume 85.3 GB9.8 MB
Unique views 5,8876
Unique downloads 9151

Share

Cite as