2017 © Pedro Peláez
 

library behat-parallel

Parallel Behat proceses

image

adlawson/behat-parallel

Parallel Behat proceses

  • Tuesday, September 3, 2013
  • by adlawson
  • Repository
  • 1 Watchers
  • 3 Stars
  • 4,069 Installations
  • Shell
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 2 Open issues
  • 3 Versions
  • 1 % Grown

The README.md

Behat Parallel

Parallel, (*1)

Version: 0.1.0, (*2)

Run your behat tests in parallel processes. The shell script simply wraps find to iterate through the test directory to get the tests, and xargs to run each test in a separate process. You can still make use of all standard Behat command line arguments., (*3)

It can be installed in whichever way you prefer, but I recommend Composer., (*4)

{
    "require": {
        "adlawson/behat-parallel": "~0.1.0"
    }
}

Command line

$ behat-parallel -h

    Usage: behat-parallel [options] -- [behat options]

    Options:

        -b, --bin        Behat binary (default: ./vendor/bin/behat)
        -f, --features   Path to the features to run (default ./features/*.feature)
        -h, --help       This help prompt
        -p, --processes  Maximum parallel processes (default: 4)

    Example:

        behat-parallel --features=/path/to/features/**/*.feature -- --tags='@javascript'

Credits

This project was inspired by Linus Norton's grunt-parallel-behat but it can be used in projects without Grunt., (*5)

Contributing

I accept contributions to the source via Pull Request. I'm pretty pedantic about git practices, coding style and naming conventions, so don't be offended if I ask you to ammend your commits., (*6)

$ make install
$ make tests

If you have Vagrant installed, you can build our dev environment to assist development. The repository will be mounted in /srv., (*7)

$ vagrant up
$ vagrant ssh

Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic x86_64)
$ cd /srv

License

The content of this library is released under the MIT License by Andrew Lawson.br/ You can find a copy of this license at http://www.opensource.org/licenses/mit or in LICENSE, (*8)

The Versions

03/09 2013

dev-master

9999999-dev http://github.com/adlawson/behat-parallel

Parallel Behat proceses

  Sources   Download

MIT

bdd testing behat process parallel

03/09 2013

dev-develop

dev-develop http://github.com/adlawson/behat-parallel

Parallel Behat proceses

  Sources   Download

MIT

bdd testing behat process parallel

03/09 2013

0.1.0

0.1.0.0 http://github.com/adlawson/behat-parallel

Parallel Behat proceses

  Sources   Download

MIT

bdd testing behat process parallel