How to fail rather than emit warning #63
Answered
by
mrbean-bremen
jfoust-zymergen
asked this question in
Q&A
|
I've noticed that a misconfigured annotation will emit a warning like the following: Is there a way to configure pytest-order such that it fails rather than emits a warning when it detects an error like this? |
Answered by
mrbean-bremen
Aug 19, 2022
Replies: 2 comments 4 replies
|
No, there isn't, though that could be added - probably via some kind of |
0 replies
Answer selected by
jfoust-zymergen
|
@mrbean-bremen thanks for the quick response -- is there a way to get pytest-order to skip tests that are ordered after skipped/failed tests? I understand this isn't explicitly the focus on pytest-order but pytest-dependency is currently is an unstable/unreliable state. |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No, there isn't, though that could be added - probably via some kind of
strictoption, that would cause an exception instead of a warning in these cases. I'm open to suggestions...