| 1 | """ |
| 2 | Configure the tests. |
| 3 | |
| 4 | Register the hypothesis 'exhaustive' profile to run 10 thousand examples. |
| 5 | Run this profile with ``pytest --hypothesis-profile=exhaustive`` |
| 6 | """ |
| 7 | |
| 8 | from hypothesis import HealthCheck |
| 9 | from hypothesis import settings |
| 10 | |
| 11 | settings.register_profile( |
| 12 | "exhaustive", |
| 13 | max_examples=10_000, |
| 14 | suppress_health_check=[HealthCheck.too_slow], |
| 15 | ) |
| 16 | settings.register_profile( |
| 17 | "coverage", |
| 18 | max_examples=10, |
| 19 | suppress_health_check=[HealthCheck.too_slow], |
| 20 | ) |
| 21 | settings.register_profile("ci", suppress_health_check=[HealthCheck.too_slow]) |