czim / phpunit-printer
Customized PHPUnit output
Installs: 13 307
Dependents: 2
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=7.3
- phpunit/phpunit: >=9.0.0
This package is auto-updated.
Last update: 2023-01-08 19:59:58 UTC
README
Custom styled PHPUnit print output for testing our projects.
Compatibility
Use ^0.9
for PHPUnit < 9; and ^1.0
PHPUnit 9+.
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"> ...