Skip to content
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

Cannot execute tags using AND logic #127

Open
iammike opened this issue Feb 18, 2020 · 0 comments
Open

Cannot execute tags using AND logic #127

iammike opened this issue Feb 18, 2020 · 0 comments

Comments

@iammike
Copy link

iammike commented Feb 18, 2020

It is highly useful in my CI environment to run tests based on multiple tags. This does not appear possible due to Cucumberish only supporting an OR tag definition.

In a standard CucumberOptions definition, this is done by passing in an array of strings as follows, but this doesn't appear supported by the Cucumberish framework:

tags = ["@iOS", "@test1, @test2"]

The above would run test1 and test2 only if they also have the iOS tag. This code does not work in Cucumberish.

Instead, when forced to use an OR, we lose a lot of flexibility:

tags = "["iOS", "test1", "test2"]

The above runs every test with an iOS or test1 or test2 tag (far more than desired).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant