Parallel Test Cases Runner for PHPUnit
To install with composer add the following to your composer.json
file
"require": {
"socialpoint/parallel-phpunit": "dev-master"
}
After installation, the binary can be found at vendor/bin/parallel-phpunit
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 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 bin path