-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Deprecate multiple --tag arguments #1948
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
Milestone
Comments
mpkorstanje
added a commit
that referenced
this issue
Apr 23, 2020
Passing multiple tags through `@CucumberOptions` has confusing semantics. Using a single tag expressions clears up any confusion and harmonizes ``@CucumberOptions` with `cucumber.filter.tags`. For example: ```java @CucumberOptions(tags="(@cucumber or @Pickle) and not @salad") ``` ```properties cucumber.filter.tags="(@cucumber or @Pickle) and not @salad" ``` Closes: #1948
3 tasks
mpkorstanje
added a commit
that referenced
this issue
Apr 23, 2020
Passing multiple tags through `@CucumberOptions` has confusing semantics. Using a single tag expressions clears up any confusion and harmonizes ``@CucumberOptions` with `cucumber.filter.tags`. For example: ```java @CucumberOptions(tags="(@cucumber or @Pickle) and not @salad") ``` ```properties cucumber.filter.tags="(@cucumber or @Pickle) and not @salad" ``` Partial fix for: #1948
mpkorstanje
added a commit
that referenced
this issue
Apr 23, 2020
Passing multiple tags through `@CucumberOptions` has confusing semantics. Using a single tag expressions clears up any confusion and harmonizes ``@CucumberOptions` with `cucumber.filter.tags`. For example: ```java @CucumberOptions(tags="(@cucumber or @Pickle) and not @salad") ``` ```properties cucumber.filter.tags="(@cucumber or @Pickle) and not @salad" ``` Closes: #1948
Closed by: 5b73489 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently it is possible to use
--tag "@example1" --tag "@example2"
or@CucumberOptions(tags={"@example1", "@example2"})
. This is confusing. Are these combined using and semantics or with or semantics? (Hint: It depends on the version of Cucumber).Instead this should be replaced with a single tag expression
@example1 and/or @example2
.TODO:
The text was updated successfully, but these errors were encountered: