This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

A tool for creating build scripts for executing PHPUnit test suites in parallel

dev-master / 1.0.x-dev 2020-05-04 13:11 UTC

This package is auto-updated.

Last update: 2021-10-04 16:51:56 UTC


Latest Stable Version Build Status


partition-phpunit-suite is a tool for creating build scripts for executing PHPUnit test suites in parallel.


PHP Archive (PHAR)

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
$ 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
$ 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 vendor/bin/partition-phpunit-suite executable.


Write list of tests to temporary file

$ phpunit --list-tests-xml /tmp/tests.xml

Generate build script

build.xml (for use with Apache Ant)

$ partition-phpunit-suite --build-xml=build.xml /tmp/tests.xml

Makefile (for use with GNU make)

$ partition-phpunit-suite --makefile=Makefile /tmp/tests.xml