psychomieze/parallel-phpunit-resultprinter

Print test results if run with gnu parallel

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

This package is auto-updated.

Last update: 2024-04-23 19:34:25 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.