socialpoint/parallel-phpunit

There is no license information available for the latest version (1.0.0) of this package.

Parallel Test Cases Runner for PHPUnit

This package's canonical repository appears to be gone and the package has been frozen as a result.

1.0.0 2014-09-16 15:01 UTC

This package is not auto-updated.

Last update: 2022-02-28 19:33:41 UTC


README

Parallel Test Cases Runner for PHPUnit

Installation

Composer

To install with Composer, execute the following command inside your project:

composer require --dev socialpoint/parallel-phpunit

After installation, the binary can be found at vendor/bin/parallel-phpunit

Pip

parallel-phpunit can be installed via "pip", the Python package manager, with:

pip install parallel-phpunit

After installation, you can use executing parallel-phpunit

Usage

Usage is as follows:

parallel-phpunit [-h] [--max_concurrency MAX_CONCURRENCY]
                      [--configuration CONFIGURATION]
                      [--phpunit_bin PHPUNIT_BIN]
                      [--test_suffix TEST_SUFFIX]
                      [TestCases Dirs [TestCases Dirs ...]]

positional arguments:
  TestCases Dirs        Directories of test cases

optional arguments:
  -h, --help            show this help message and exit
  --max_concurrency MAX_CONCURRENCY
                        Max TestCase processing concurrency (8 by default)
  --configuration CONFIGURATION, -c CONFIGURATION
                        Read configuration from XML file
  --phpunit_bin PHPUNIT_BIN
                        phpunit bin path
  --test_suffix TEST_SUFFIX
                        phpunit test suffix (by default Test.php)