-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Ignore individual tests #3198
Comments
Seems useful at first sight. Feel free to submit a PR. 👍 |
I submitted #3201 with a different implementation than I proposed. I opted to add |
FTR, I figured there's a more convenient way to ignore tests, which supports a pattern match, that is |
It would be useful for my workflow to be able to ignore specific tests while still collecting an entire directory.
For example, I have:
I can currently use
--ignore
to ignore an entire file, but not a specific test. If I want to run every test except fortest_a.py::test_foo
I will have a very long command line.I propose to accept test ids with
--ignore
:Thoughts? I'd be glad to submit a PR.
The text was updated successfully, but these errors were encountered: