API Reference

hypofuzz.detection.in_hypofuzz_run() bool[source]

in_hypofuzz_run returns True when HypoFuzz has been invoked via hypothesis fuzz or another entrypoint, and False otherwise. You can use this to check whether HypoFuzz is currently fuzzing (or about to start fuzzing), as opposed to just having been imported.