gkushang / cucumber-parallel Goto Github PK
View Code? Open in Web Editor NEWRun Cucumber features and scenarios in Parallel
Run Cucumber features and scenarios in Parallel
This tool is only dependent from an old version of cucumber...
Is it posssible to have cucumber earlier versions available ?
hey,
is it possible to run multiple tag?
I am using 'protractor-cucumber-framework' along with Chai as assertion library.
I would like to run the scenarios in parallel, can you please suggest me if this plugin can be used along with Protractor config file.
If yes, please guide how to use this plugin along with protractor config file.
When using cucumber ^2.0.0-rc.6
Exception Thrown
TypeError: Cannot read property 'getArgs' of undefined
at getConfiguration (/Users/tmader-brown/gitlab/implementations-cucumber/cucumberjs/node_modules/cucumber-parallel/lib/cucumber/cucumber_js.js:71:58)
at Object.runCucumber (/Users/tmader-brown/gitlab/implementations-cucumber/cucumberjs/node_modules/cucumber-parallel/lib/cucumber/cucumber_js.js:86:29)
at Object. (/Users/tmader-brown/gitlab/implementations-cucumber/cucumberjs/node_modules/cucumber-parallel/lib/parallelizer/runner.js:4:26)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.runMain (module.js:605:10)
at run (bootstrap_node.js:418:7)
at startup (bootstrap_node.js:139:9)
at bootstrap_node.js:533:3
/Users/tmader-brown/gitlab/implementations-cucumber/cucumberjs/node_modules/cucumber-parallel/lib/cucumber/cucumber_js.js:71
var profileArgs = Cucumber.Cli.ProfilesLoader.getArgs(program.profile);
We want to use cucumber-parallel but one of it's dependencies has a version that is currently quarantined from our internal registry. Can you please update moment
to its latest version in your package-lock.json. Thank you!!!
Hey,
I forked the repo and wanted to check my set up so I'm running the tests.
pretest
run is good.
test
fails with the following:
AssertionError: Scenarios are missing in the report: expected 14 to equal 8
at assertJsonContents (C:\Dev\cucumber-parallel\test\features\assert\report.js:24:45)
at Timeout.assert [as _onTimeout] (C:\Dev\cucumber-parallel\test\features\assert\report.js:39:16)
at ontimeout (timers.js:365:14)
at tryOnTimeout (timers.js:237:5)
at Timer.listOnTimeout (timers.js:207:5)
I've attached a zip of the json file with what appear to be duplicates runs during the parallel scenarios run.
I'm going to look into whats going on but thought I'd flag this first.
Hi Kushang,
I have few queries on this package. Please clarify it today
Hello there! ๐
Cucumber profiles are very useful for me (cucumberjs --profile|-p <profile_name>).
When i use cucumberjs -p <my_profile> everything is going well, but when i use cucumber-parallel -p <my_profile> im getting an error :
TypeError: Path must be a string. Received undefined
at assertPath (path.js:8:11)
at Object.posix.resolve (path.js:426:5)
........
It would be great to have profiles support ๐
Any chance this will support cucumber 3.x? Im looking for how I can run features in parallel, or if you can provide tips on how I can access the feature files that have the tags I specify before runtime so that I can pass that result to protractor as shards that would be great.
Hello,
is there any way to limit number of workers e.g. to number_of_cores/2 ?
My test suite contains ~20 feature files and ~400 scenarios, so when I run tests in parallel with cucumber-parallel (by feature) Ive got 20 parallel jobs which is too much for my rig unfortunatelly :) (not to mention 400 scenarios in parallel...)
Is there any ETA when or if such a limit parameter will be available?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.