psychomieze / parallel-phpunit-resultprinter
Print test results if run with gnu parallel
dev-master
2014-07-25 12:12 UTC
Requires
- php: >=5.4
Requires (Dev)
- phpunit/phpunit: 4.0.*
This package is auto-updated.
Last update: 2024-11-23 20:53:15 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.