There is a newer version of the record available.

Published April 10, 2022 | Version hypothesis-python-6.42.2
Software Open

Hypothesis: Property-Based Testing for Python

  • 1. Imperial College London
  • 2. Australian National University

Description

The Hypothesis pytest plugin was not outputting valid xunit2 nodes when "--junit-xml" was specified. This has been broken since Pytest 5.4, which changed the internal API for adding nodes to the junit report.

This also fixes the issue when using hypothesis with "--junit-xml" and "pytest-xdist" where the junit xml report would not be xunit2 compatible. Now, when using with "pytest-xdist", the junit report will just omit the "<properties>" node.

For more details, see this pytest issue, this pytest issue, and issue

1935

Thanks to Brandon Chinn for this bug fix!

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

Notes

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

HypothesisWorks/hypothesis-hypothesis-python-6.42.2.zip

Files (9.5 MB)

Additional details