We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I have just tried to use the runInParallel task with my build.gradle file as below.
def runCucumberTests(testProperties, tag) { def features = fileTree(dir: "${project.projectDir}/src/main/resources/compiled/").include '**/*.feature' println features println 'feature folder' GParsPool.withPool(10) { features.eachParallel { File file -> println ("${file.name}") exec { executable "cmd" args "-cp ${sourceSets.main.runtimeClasspath.asPath} " + "cucumber.api.cli.Main " + "--glue classpath:steps " + "--tags ${tag}" } println("${file.name}: Scenario output: ${reporting.baseDir}/cucumber/${file.name}.log ") } }
as it is a windows machine i changed the executable to "cmd".
but i got the error like "The command line is too long."
please help me in come out from this issue.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I have just tried to use the runInParallel task with my build.gradle file as below.
def runCucumberTests(testProperties, tag) {
def features = fileTree(dir: "${project.projectDir}/src/main/resources/compiled/").include '**/*.feature'
println features
println 'feature folder'
GParsPool.withPool(10) {
features.eachParallel { File file ->
println ("${file.name}")
exec {
executable "cmd"
args "-cp ${sourceSets.main.runtimeClasspath.asPath} " +
"cucumber.api.cli.Main " +
"--glue classpath:steps " +
"--tags ${tag}"
}
println("${file.name}: Scenario output: ${reporting.baseDir}/cucumber/${file.name}.log ")
}
}
as it is a windows machine i changed the executable to "cmd".
but i got the error like "The command line is too long."
please help me in come out from this issue.
The text was updated successfully, but these errors were encountered: