2017 © Pedro Peláez
 

library behat-partial-runner

Partial runner extension for Behat

image

taysirtayyab/behat-partial-runner

Partial runner extension for Behat

  • Friday, October 14, 2016
  • by TaysirTayyab
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

Build Status Code Climate Test Coverage, (*1)

Behat Partial Runner

The Partial Runner is a Behat extension which runs a subset of scenarios to parallelize Behat across mutliple nodes., (*2)

Where as shvetsgroup/ParallelRunner is an excellent tool for parallelizing Behat on a single machine, it unfortunately does not handle parallelizing Behat across multiple machines. The Behat Partial runner fills this gap., (*3)

It is very useful for CI services which offer parallelization such as CircleCI and TravisCI., (*4)

Usage

Require the extension with composer either through CLI or editing the composer.json., (*5)

> bin/composer require --dev taysirtayyab/behat-partial-runner:dev-master
"require-dev": {
  "taysirtayyab/behat-partial-runner": "dev-master"
}


 Then and the extension to your `behat.yml` file.
default: extensions: Behat\PartialRunner\ServiceContainer\PartialRunnerExtension: ~

Once configured, the parallelization can be invoked using the `--count-workers` and `--worker-number` options.
bin/behat --worker-number=0 --count-workers=2 bin/behat --worker-number=1 --count-workers=2

**Note:** The `--worker-number` expects a 0-indexed node index. ### CircleCI To integrate with CircleCI, add the following to your `circle.yml` file.
tests: override: behat --worker-number=$CIRCLE_NODE_INDEX --count-workers=$CIRCLE_NODE_TOTAL: parallel: true

### TravisCI To integerate with TravisCI, add the following to your `.travis.yml` file.
script: - behat --worker-number=$CI_NODE_INDEX --count-workers=$CI_NODE_TOTAL env: global: - CI_NODE_TOTAL=2 matrix: - CI_NODE_INDEX=0 - CI_NODE_INDEX=1

## Development This project is set up with docker to simplify handling dependencies. By using docker, you are not required to install any additional packages or resources on your system, regardless of what sources the project may end up using in the future. All you need is the [Docker Engine](https://docs.docker.com/engine/installation/). ### Setup Once docker is installed, use the bundled script for composer to install the dependencies.
> bin/composer install

### Testing Usage is quite simple. Use the bundled scripts out of the project root directory. These will use the bundled php script for the php docker container.
> bin/behat > bin/phpunit

(Adding ./bin to you $PATH variable may be helpful.), (*6)

The Versions

14/10 2016

dev-master

9999999-dev http://github.com/TaysirTayyab/behat-partial-runner

Partial runner extension for Behat

  Sources   Download

MIT

The Requires

 

The Development Requires

by Anton Serdyuk
by Taysir Tayyab

bdd behat runner partial

13/10 2016

dev-scenario-outline-filtering

dev-scenario-outline-filtering http://github.com/TaysirTayyab/behat-partial-runner

Partial runner extension for Behat

  Sources   Download

MIT

The Requires

 

The Development Requires

by Anton Serdyuk
by Taysir Tayyab

bdd behat runner partial

13/10 2016

dev-dockerization

dev-dockerization https://github.com/m00t/behat-partial-runner

Partial runner extension for Behat

  Sources   Download

MIT

The Requires

 

The Development Requires

by Anton Serdyuk

bdd behat runner partial

09/01 2015

3.1

3.1.0.0 https://github.com/m00t/behat-partial-runner

Partial runner extension for Behat

  Sources   Download

MIT

The Requires

 

The Development Requires

by Anton Serdyuk

bdd behat runner partial

19/09 2014

3.0

3.0.0.0 https://github.com/m00t/behat-partial-runner

Partial runner extension for Behat

  Sources   Download

MIT

The Requires

 

The Development Requires

by Anton Serdyuk

bdd behat runner partial

04/02 2014

2.0

2.0.0.0 https://github.com/m00t/behat-partial-runner

Partial runner extension for Behat

  Sources   Download

MIT

The Requires

 

The Development Requires

by Anton Serdyuk

bdd behat runner partial

24/10 2013

1.0

1.0.0.0 https://github.com/StartupLabs/behat-partial-runner

Partial runner extension for Behat

  Sources   Download

MIT

The Requires

 

by Anton Serdyuk

bdd behat runner partial