You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature request: add ability to blacklist tests based on tag #2064
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.
Could you clarify how would blacklisting be different than skipping? For me they look exactly the same, and I'd definitely use the more common "skip" term.
Notice that the problem with skipping isn't adding a new keyword or command line option but rather how to present these tests in logs and reports, how they affect statistics, etc. For me the current pass/fail status and critical/non-critical separation has been enough, and I don't consider skipping that important. If someone is interested to design how it would work and also implement, test and document it, I won't have problems accepting the feature and merging a pull request.
Activity
pekkaklarck commentedon Jul 16, 2015
Could you clarify how would blacklisting be different than skipping? For me they look exactly the same, and I'd definitely use the more common "skip" term.
Notice that the problem with skipping isn't adding a new keyword or command line option but rather how to present these tests in logs and reports, how they affect statistics, etc. For me the current pass/fail status and critical/non-critical separation has been enough, and I don't consider skipping that important. If someone is interested to design how it would work and also implement, test and document it, I won't have problems accepting the feature and merging a pull request.
pekkaklarck commentedon Aug 5, 2015
OK, backlisting is just a different term for skip. I opened a separate issue about possible new SKIP status. Let's continue discussion there.
Changing how --exclude works is not an option.