webberwu/phpunit-pretty-print

Prettify PHPUnit output

1.0.0 2018-06-05 09:22 UTC

This package is auto-updated.

Last update: 2024-10-21 20:10:58 UTC


README

Forked from sempro/phpunit-pretty-print:1.0.3

PRs Welcome eslint

phpunit-pretty-print

Installation

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

Usage

You can specify the printer to use on the phpunit command line:

php vendor/bin/phpunit --printer 'Webber\PHPUnitPrettyPrinter\PrettyPrinter' tests/

Optionally, you can add it to your project's phpunit.xml file instead:

<phpunit
    bootstrap="bootstrap.php"
    colors="true"
    printerClass="Webber\PHPUnitPrettyPrinter\PrettyPrinter">