Coder Social home page Coder Social logo

cucumber-parallel's People

Contributors

amuzalevskiy avatar gkushang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cucumber-parallel's Issues

Queries on running multiple feature files and it's scenarios parallely

Hi Kushang,
I have few queries on this package. Please clarify it today

  1. To which file do I need to pass this process arguments ?
    --parallel scenarios and --parallel features
  2. Do we have to make any code level changes. If yes then what changes is required to run the test?
  3. My framework is webdriverio framework. CLI command I used to run the test is
    node index.js -d -t @tag1 -n qa2
    Post this implementation, which command do I need to use to run the tests?
  4. Does it support consolidated HTML report post execution? We need a single HTML report and not multiple json reports.
  5. If my feature files are inside a directory and that directory is inside another directory, will it read the feature file from that location?
    Eg:
    features directory -> Test directory -> myfiles1.feature, myfiles2.feature....
    Please clarify at the earliest. Thanks

Dependent from cucumber 1.0.0

This tool is only dependent from an old version of cucumber...
Is it posssible to have cucumber earlier versions available ?

Limit number of workers

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?

Cucumber profiles support

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 ๐Ÿ˜‰

Cannot read property 'getArgs' of undefined

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);

Dependency update request

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!!!

Forked and tests fail

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)

cucumber_report.zip

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.

Need info - How to use this plugin along with protractor

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.

Support Cucumber 3.x

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.