Open
Description
I'd like to register a gradle task to run my integration tests with cucumber. The task definition looks like this:
tasks.register('integrationTest', Test) {
description = 'Runs integration tests.'
group = 'verification'
dependsOn assemble, testClasses
doLast {
javaexec {
main = "io.cucumber.core.cli.Main"
classpath = configurations.cucumberRuntime + sourceSets.main.output + sourceSets.test.output
args = [
'--plugin', 'pretty',
'--plugin', 'json:target/cucumber/cucumber.json',
'--plugin', 'org.citrusframework.cucumber.CitrusReporter',
'--tags', '"not @ignore"',
'src/test/resources/features'
]
ignoreExitValue = true
}
}
}
In my project there are no steps definitions, because I use yaks standard library and provided that as an extraGlue cucumber option. Is there any way to include that option in here the task definition(e.g: '--cucumber.extraGlue', 'org.citrusframework.yaks.standard')? As i can see that in the README file this is not supperted yet. Is there any other alternative?