psychomieze/parallel-phpunit-resultprinter

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.

Print test results if run with gnu parallel

dev-master 2014-07-25 12:12 UTC

This package is auto-updated.

Last update: 2021-11-23 14:06:22 UTC


README

This is a very ugly but working hack to get nicer results when running tests with gnu parallels.

Works like this:

time find -L . -name \*Test.php -path \*typo3_src/typo3/sysext/*/Tests/Functional* | parallel --gnu 'echo; echo "Running functional {} test case";  ./bin/phpunit --colors -c typo3/sysext/core/Build/FunctionalTests.xml --printer "\Parallel\PhpUnit\ResultPrinter" {}' > /dev/null
cat test.txt
rm test.txt

Add the following to your composer.json:

"psychomieze/parallel-phpunit-resultPrinter": "*@dev"

and run composer update.