Yelp / fuzz-lightyear

A pytest-inspired, DAST framework, capable of identifying vulnerabilities in a distributed, micro-service ecosystem through chaos engineering testing and stateful, Swagger fuzzing.
Other
205 stars 25 forks source link

Filter out hypothesis warnings #49

Closed domanchi closed 4 years ago

domanchi commented 4 years ago

In running these tests, I got really annoyed at the amount of unnecessary hypothesis warnings:

.../virtualenv_run/lib/python3.6/site-packages/hypothesis/strategies/_internal/strategies.py:273: NonInteractiveExampleWarning: The `.example()` met
hod is good for exploring strategies, but should only be used interactively.  We recommend using `@given` for tests - it performs better, saves and replays failures to avoid flakiness,
and reports minimal examples. (strategy: fixed_dictionaries({'business_id': builds(type_cast)}))
NonInteractiveExampleWarning,

Let's just filter them out.