-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
Let ignoring scenarios using multiple @ignore tags. #151
Comments
My view:
|
Also, in some simple cases, organizing tests using tags can help. Those can already be passed in as arguments: https://github.com/ttutisani/Xunit.Gherkin.Quick/blob/master/docs/tags.md |
@ttutisani Maybe just a reversed "--filter" would be enough! Like "all except of ". |
You made me think 🙂 So, good news, it's already possible because
The only problem left is that this is not documented in the tags documentation, which is why this issue must stay open until it's documented. Sources:
|
I've tested the
So any other option would be still helpful, I guess =) |
Right now the library supports only ignoring scenarios using the
@ignore
tags. However, it is a practice for other BDD libraries to have a configurable list of tags to ignore. For example, Java's Cucumber is fully configurable for each test:tags = "not @ignore and not @ignore-custom and not @ignore-custom-something-else-whatever-you-want"
It is extremely useful for large projects. For example, when we have a number of clients for a single server, and we want to ensure that all our clients work identically. However, we want to temporarily disable some of the scenarios for specific clients, creating
@ignore-client1
and@ignore-client2
.As adding such scalable feature requires time, I'd suggest to at least give developers a way to use several different tags.
@ignore*********.
The text was updated successfully, but these errors were encountered: