Skip to content
New issue

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

Unable to use this plugin with windows machine #6

Open
thamizhkumarana opened this issue Oct 9, 2018 · 0 comments
Open

Unable to use this plugin with windows machine #6

thamizhkumarana opened this issue Oct 9, 2018 · 0 comments

Comments

@thamizhkumarana
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant