Parallel runner for Behat

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
neochief's picture

Hey guys!

Just want to let you know, that I've created a Behat extension, which allows parallel execution of tests. In most cases, using this extension should decrease test suite execution time a lot. For example, for my own project, it decreased execution time of full test suite from around 60 to 30 minutes (on my local machine).

Check it out and let me know what do you think.

Comments

Well done!

ygerasimov's picture

Well done!

It works well at small set of scenarios

VladSavitsky's picture

For now it works well at small set of scenarios but when there are thousands of them it just hangs up. Alexander said that it require some more work.

Hi neochief, I am

durgesh1189's picture

Hi neochief, I am continuously getting download error with parallelrunner, I have used minimum stability as "dev" too and using "behat 2.4.*" . could you please help

Error :

Your requirements could not be resolved to an installable set of packages.

Problem 1
- The requested package shvetsgroup/parallelrunner could not be found in any version, there may be a typo in the package name.

Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see https://getcomposer.org/doc/04-schema.md#minimum-stability for more details.

-Durgesh

It works for me

Chi's picture

Below is my composer.json.

{
  "require": {
    "drupal/drupal-extension": "1.0.@stable",
    "behat/behat": "2.5.
@stable",
    "shvetsgroup/parallelrunner": "dev-master"
  },
  "minimum-stability": "dev",
  "config": {
    "bin-dir": "bin/",
    "secure-http": false
  }
}