Skip to content
Discussion options

You must be logged in to vote

Thanks, that was a helpful detail.

I updated the build.gradle file, it now has this definition:

bddTest {
    systemProperty("cucumber.filter.tags", System.getProperty("cucumber_filter_tags", "not @ignore and not @wip"))
}

This will use the system property cucumber_filter_tags when present and otherwise default to "not @ignore and not @wip".

I renamed the system property to cucumber_filter_tags because it seems that it is not possible to specify dot-separated properties from the command line. Well, I didn't get it to work.

Now the call is done through ./gradlew bddTest -Dcucumber_filter_tags="@SunnyFlow" to run only the scenarios with tag @SunnyFlow.

All works like a charm.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Arc-E-Tect
Comment options

Answer selected by Arc-E-Tect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants