A tool for creating build scripts for executing PHPUnit test suites in parallel
This package is auto-updated.
Last update: 2021-10-04 16:51:56 UTC
partition-phpunit-suite is a tool for creating build scripts for executing PHPUnit test suites in parallel.
The easiest way to obtain
partition-phpunit-suite is to download a PHP Archive (PHAR) that has all required dependencies of
partition-phpunit-suite bundled in a single file:
$ wget https://phar.phpunit.de/partition-phpunit-suite.phar $ chmod +x partition-phpunit-suite.phar $ mv partition-phpunit-suite.phar /usr/local/bin/partition-phpunit-suite
You can also immediately use the PHAR after you have downloaded it, of course:
$ wget https://phar.phpunit.de/partition-phpunit-suite.phar $ php partition-phpunit-suite.phar
You can add this tool as a local, per-project, development-time dependency to your project using Composer:
$ composer require --dev sebastian/partition-phpunit-suite
You can then invoke it using the
$ phpunit --list-tests-xml /tmp/tests.xml
$ partition-phpunit-suite --build-xml=build.xml /tmp/tests.xml
$ partition-phpunit-suite --makefile=Makefile /tmp/tests.xml