Closed Vovanchik closed 8 years ago
Thanks @Vovanchik for reporting. We found a bug in comparing the versions while running scenario in parallel. It is fixed and published as v0.9.1
. Let us know if you face any issues.
After upgrading grunt-cucumberjs version to 0.9.1 I received next error:
Running "cucumberjs:src" (cucumberjs) task Fatal error: spawn node_modules\cucumber-parallel\bin\cucumber-parallel ENOENT
From internet surfing I found that probably some dependencies missed, but I am not sure.
Command used: grunt cucmberjs --parallel scenarios Cucumberjs configuration: cucumberjs: { src: ['src/test/features/assessments.feature'], options: { format: 'pretty', output: 'target/cucumber-report/test-report.html', theme: 'bootstrap', executeParallel: 'true' } } Package.json "devDependencies": { "cucumber": ">=0.10.2", "grunt": "~0.4.5", "grunt-cucumberjs": ">=0.9.1", }
It look's like this is Windows issue. Working well on Linux.
Thank you for help:+1:
Nice! I noticed your output format is pretty
, which won't generate the HTML report. You must provide html
output formatter in order to generate the html reports. If you want to have pretty
formatter as well then this plugin also supports multi-formatter, e.g. formats: ['html', 'pretty']
Thank's for information.
Question is not related to this issue, but is it possible to specify limit of workers which are run in parallel, because option: --worker
Unfortunately, worker
option is not yet supported with the cucumber-parallel module. It's a feature request.
Than, let's wait for new releases.
Thank you for help:+1:
Received following error when trying to tests in parallel
Running "cucumberjs:src" (cucumberjs) task
Command used: grunt cucmberjs --parallel scenarios
What I missed?