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

Citation Style Language JSON Export

  "publisher": "Zenodo", 
  "DOI": "10.5281/zenodo.7338443", 
  "title": "Hypothesis: Property-Based Testing for Python", 
  "issued": {
    "date-parts": [
  "abstract": "<p>\"register_random()\" has used \"weakref\" since 6.27.1 - 2021-11-22,\nallowing the \"Random\"-compatible objects to be garbage-collected when\nthere are no other references remaining in order to avoid memory\nleaks. We now raise an error or emit a warning when this seems likely\nto happen immediately.</p>\n<p>The type annotation of \"register_random()\" was also widened so that\nstructural subtypes of \"Random\" are accepted by static typecheckers.</p>\n<p><em><a href=\"\">The canonical version of these notes (with links) is on readthedocs.</a></em></p>", 
  "author": [
      "family": "MacIver, David R."
      "family": "Hatfield-Dodds, Zac"
      "family": "many other contributors"
  "note": "If you use Hypothesis as part of a published research project,\nplease cite our paper in the Journal of Open Source Software:\n\nText:\n\nMacIver et al., (2019). Hypothesis: A new approach to property-based testing.\nJournal of Open Source Software, 4(43), 1891,\n\nBibTeX:\n\n@article{MacIver2019Hypothesis,\n  journal = {Journal of Open Source Software},\n  doi = {10.21105/joss.01891},\n  issn = {2475-9066},\n  number = {43},\n  publisher = {The Open Journal},\n  title = {Hypothesis: A new approach to property-based testing},\n  url = {},\n  volume = {4},\n  author = {MacIver, David and Hatfield-Dodds, Zac and Contributors, Many},\n  pages = {1891},\n  date = {2019-11-21},\n  year = {2019},\n  month = {11},\n  day = {21},\n}\n\nTo reference a particular version of Hypothesis as a software artifact,\nyou can use the version-specific DOIs we create for each release under\n", 
  "version": "hypothesis-python-6.58.0", 
  "type": "article", 
  "id": "7338443"
All versions This version
Views 6,9142
Downloads 22,9770
Data volume 85.3 GB0 Bytes
Unique views 5,8932
Unique downloads 9150


Cite as