Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to allow for multiple test failures #20

Open
jeffsilverm opened this issue Sep 10, 2018 · 0 comments
Open

How to allow for multiple test failures #20

jeffsilverm opened this issue Sep 10, 2018 · 0 comments

Comments

@jeffsilverm
Copy link
Owner

I want to leave the possibility that multiple tests are going to fail. I don't want to stop at the first test.
Delayed assert / multiple failures per test describes one way to do it using the --maxfail parameter. There is a solution in StackOverflow: How to run all PyTest tests even if some of them fail?. I construe Stopping after the first (or N) failures to mean that if I do not include the -x option, then pytest will continue on a failure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant