czim/phpunit-printer

Customized PHPUnit output

0.9.1 2019-04-08 09:48 UTC

This package is auto-updated.

Last update: 2020-10-08 13:23:45 UTC


README

Custom styled PHPUnit print output for testing our projects.

Install

composer require czim/phpunit-printer --dev

Usage

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

php vendor/bin/phpunit --printer 'Czim\PHPUnitPrinter\PrettyPrinter' tests/

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

<phpunit
    ...
    printerClass="Czim\PHPUnitPrinter\PrettyPrinter">
    ...