I need to run specific scenario via the command line! With tags! How can I do it?
Added in build.gradle
plugin
id "se.thinkcode.cucumber-runner" version "0.0.8"
configurations
cucumberRuntime {
extendsFrom testImplementation
}
task
cucumber {
glue = 'classpath:com.ingenico.component.tests.cucumber'
main = 'io.cucumber.core.cli.Main'
featurePath = 'src/test/resources/features'
}
Command
gradle cucumber --tags @tag
I get this code in https://github.com/tsundberg/gradle-cucumber-runner