-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Ignore individual tests #3198
Copy link
Copy link
Closed
Labels
type: enhancementnew feature or API change, should be merged into features branchnew feature or API change, should be merged into features branchtype: proposalproposal for a new feature, often to gather opinions or design the API around the new featureproposal for a new feature, often to gather opinions or design the API around the new feature
Metadata
Metadata
Assignees
Labels
type: enhancementnew feature or API change, should be merged into features branchnew feature or API change, should be merged into features branchtype: proposalproposal for a new feature, often to gather opinions or design the API around the new featureproposal for a new feature, often to gather opinions or design the API around the new feature
Type
Fields
Give feedbackNo fields configured for issues without a type.
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
--ignoreto ignore an entire file, but not a specific test. If I want to run every test except fortest_a.py::test_fooI will have a very long command line.I propose to accept test ids with
--ignore:Thoughts? I'd be glad to submit a PR.