phpunit-pretty-print
Prettify PHPUnit output
Installation
composer require sempro/phpunit-pretty-print --dev
Usage
You can specify the printer to use on the phpunit command line:
php vendor/bin/phpunit --printer 'Sempro\PHPUnitPrettyPrinter\PrettyPrinter' tests/
Optionally, you can add it to your project's phpunit.xml
file instead:
<phpunit
bootstrap="bootstrap.php"
colors="true"
printerClass="Sempro\PHPUnitPrettyPrinter\PrettyPrinter">
License
MIT © Sempro AS