Repository navigation
Force pytest to stop if setup fails in conftest #10501
Unanswered
f00dog-x300
asked this question in
Q&A
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi all,
I would like to know how to stop pytest from a session level if a setup step in conftest is not satisfied. I've tried using pytest.exit but it just skips the test. I'm not sure what other option is out there.
All reactions