github HypothesisWorks/hypothesis hypothesis-python-4.38.0
Hypothesis for Python - version 4.38.0

latest releases: hypothesis-python-6.100.4, hypothesis-python-6.100.3, hypothesis-python-6.100.2...
4 years ago

This release adds the "hypothesis.target()" function, which implements
experimental support for targeted property-based testing (issue
#1779).

By calling "target()" in your test function, Hypothesis can do a hill-
climbing search for bugs. If you can calculate a suitable metric such
as the load factor or length of a queue, this can help you find bugs
with inputs that are highly improbably from unguided generation -
however good our heuristics, example diversity, and deduplication
logic might be. After all, those features are at work in targeted PBT
too!

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

Don't miss a new hypothesis release

NewReleases is sending notifications on new releases.