Skip to content

Cannot execute tags using AND logic #127

@iammike

Description

@iammike

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions