-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Description
It's often useful to "blacklist" tests, i.e. not execute them but still have them show up in the report (e.g. as "not run") so they don't fall through the cracks. Using --exclude doesn't work, because that hides the excluded tests from the report altogether. The most common workaround seems to be to mark the test as noncritical and make it fail using the "Fail" keyword, but that's not ideal and ambiguous... a failing noncritical test isn't the same as a blacklisted test.
This is somewhat similar to issue #812 (request for a "Skip" keyword), but I believe what I'm asking for is simpler. What's needed isn't a new keyword, but simply a command line option similar to --exclude, let's say --blacklist , which skips the affected tests and makes a note of that in the report.
Thanks!