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

Not skipping a test when parent test skips or xfails #64

Open
saveshodhan opened this issue Feb 21, 2022 · 0 comments
Open

Not skipping a test when parent test skips or xfails #64

saveshodhan opened this issue Feb 21, 2022 · 0 comments

Comments

@saveshodhan
Copy link

Would you mind having a cli switch that allows us to NOT skip the test if the parent tests are marked as skip or xfail?

I am building a framework that uses this plugin, in which we skip tests if test that they are dependent on, fails - for e.g., if an HTTP API fails, there's no point in going ahead and checking its values in database. but there are times when we dont have to make that API call, yet somehow check in the database. in that case, we would like to have this switch (something like --ignore-skipped-tests) that will let us skip the API test case but continue to run the database test case.

I can think of having separate switches for skip and xfail.

What are your views on this? If this seems ok, I can submit a PR for the same.

Thanks! ✌️

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