Skip to content

dmitrybubyakin/phpunit-pretty-print

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

phpunit-pretty-print

Prettify PHPUnit output

PRs Welcome eslint

phpunit-pretty-print

Installation

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

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

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

Packages

No packages published

Languages

  • PHP 100.0%