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
Clarify and test tag filters #131
Comments
Team discussion:
|
I've been thinking about the wording with regard to tags that are included and excluded. By default, all tags are included. So, when a user specifies one or more tags for a particular test plan, what the user is actually saying is something along the lines of "require these tags". One could also phrase that as, "include only these tags". However, I think the word require is more straightforward. This would lead to terminology such as "required tags" and "excluded tags" for filter names, annotation names (for the Thoughts? |
"Required" sounds more precise. And it clarifies that "include" and 2016-01-27 21:34 GMT+01:00 Sam Brannen notifications@github.com:
|
@sbrannen what would be a more suitable name for |
Well, it's a static factory method. Thus Basically, it's a factory for a With that in mind, I would suggest renaming That would then imply that
|
What about And it should be usable for |
I kinda like the simplicity of But when it's used as static import (like in
In the end it's not really that big a deal either way.
Well, |
I'm going for an integration of both ideas: |
Fixed in master. |
@jlink, nice work on the Thanks! |
Status Quo
There are currently no tests for filtering based on tags. Consequently, we have no regression tests for the factory methods in
TagFilter
.Deliverables
TagFilter
.TagFilter
.DiscoveryFilter#combine
and write tests for itThe text was updated successfully, but these errors were encountered: