sempro/phpunit-pretty-print

Prettify PHPUnit output

1.1.10 2019-08-12 07:08 UTC

README

✅ Make your PHPUnit output beautiful

Build Status Packagist Packagist PRs Welcome psr-2

Installation

composer require sempro/phpunit-pretty-print --dev

This package requires >=7.0.0 of PHPUnit. If you're running on 6.x, please use version 1.0.3.

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">

phpunit-pretty-print

License

MIT © Sempro AS