2017 © Pedro Peláez
 

library parallel-phpunit-resultprinter

Print test results if run with gnu parallel

image

psychomieze/parallel-phpunit-resultprinter

Print test results if run with gnu parallel

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

parallel-phpunit-resultPrinter

This is a very ugly but working hack to get nicer results when running tests with gnu parallels., (*1)

Works like this:, (*2)

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:, (*3)

"psychomieze/parallel-phpunit-resultPrinter": "*@dev", (*4)

and run composer update., (*5)

The Versions

25/07 2014

dev-master

9999999-dev http://github.com/psychomieze/parallel-phpunit-resultprinter

Print test results if run with gnu parallel

  Sources   Download

GPL2

The Requires

  • php >=5.4

 

The Development Requires

phpunit tests parallel