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

Add feature to skip a test case #8

Open
maria-pia-goicoechea-lenio opened this issue Nov 2, 2022 · 2 comments
Open

Add feature to skip a test case #8

maria-pia-goicoechea-lenio opened this issue Nov 2, 2022 · 2 comments

Comments

@maria-pia-goicoechea-lenio

Hi, it would be so useful to have the possibility to specify that one test case should be skipped.

@ckp95
Copy link
Owner

ckp95 commented Nov 2, 2022

It's a good idea, not sure how to declare it though. There are a few options:

Case(foo=3, bar=f).skip(reason=...)
Case(foo=3, bar=4).mark(pytest.mark.skip(reason=...))
Case(foo=3, bar=4).set_params(marks=pytest.mark.skip(reason=...))

Allowing "skip" opens the door to all kinds of other things that pytest lets you do ...

@ckp95
Copy link
Owner

ckp95 commented Nov 2, 2022

see also #3

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

2 participants