Hypothesis: Property-Based Testing for Python
Authors/Creators
- 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
1935Thanks to Brandon Chinn for this bug fix!
The canonical version of these notes (with links) is on readthedocs.
Notes
Files
HypothesisWorks/hypothesis-hypothesis-python-6.42.2.zip
Files
(9.5 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:cd3dc49d0c5c065f20785acc6e0a558f
|
9.5 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/HypothesisWorks/hypothesis/tree/hypothesis-python-6.42.2 (URL)