[BUG] Disable explicit examples generation if the "explicit" phase is excluded #905
Labels
Difficulty: Beginner
Ideal for newcomers
Priority: Low
Cosmetic or low-impact changes
Type: Bug
Errors or unexpected behavior
Describe the bug
If the "explicit" phase is excluded, then examples should not be generated altogether. E.g. if the
--hypothesis-phases=generate,shrink
is passed. They still won't be executed by Hypothesis, but Schemathesis "fills the gaps" in examples by invokingstrategy.example
there (which also might be not the best idea anyway) and may fail on generating examples that won't be executed anywayThe text was updated successfully, but these errors were encountered: