jlipps / paraunit
A parallel execution wrapper for PHPUnit
Installs: 33 041
Dependents: 0
Suggesters: 0
Security: 0
Stars: 13
Watchers: 4
Forks: 1
Open Issues: 0
Requires
- php: >=5.3.0
- phpunit/phpunit: >=3.7.1
This package is not auto-updated.
Last update: 2024-12-21 15:03:28 UTC
README
A parallel wrapper for PHPUnit. Run this file instead of PHPUnit and you can pass in the number of parallel PHPUnit processes you want to use on your tests.
Tests are found by grepping files for test*() and run in individual processes, up to the max concurrency you set, until all tests are finished. This means tests must be logically independent!
Usage
Install using composer. Then do this:
--phpunit=PATH/TO/PHPUNIT```
Todo
----
* Handle more kinds of output from phpunit
* Try to use PHPUnit to get file list / test name list
* See if anything can be done about test dependencies