josrom / phpunit-unicode-printer
Printer for PHPUnit using Unicode
Installs: 23 393
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- php: ^7.3|^8.0
- phpunit/phpunit: 9.*
This package is auto-updated.
Last update: 2024-11-29 05:03:45 UTC
README
Installation
To get the last version of PHPUnit Unicode Printer, simply require the project using Composer:
composer require --dev josrom/phpunit-unicode-printer:9.*
Instead, you may of course manually update your require block and run composer update if you so choose:
{ "require-dev": { "josrom/phpunit-unicode-printer": "9.*" } }
Modify the phpunit.xml
to add the printer:
<phpunit ... colors="true" printerClass="PHPUnit\Printer" ...> ... </phpunit>
or
<phpunit ... colors="true" printerClass="PHPUnit\PrinterClass" ...> ... </phpunit>
or
<phpunit ... colors="true" printerClass="PHPUnit\PrinterMethod" ...> ... </phpunit>
PHPUnit 8
For previous versions of PHPUnit use the tag 0.4.*
or 8.*
PHPUnit 7
For previous versions of PHPUnit use the tag 0.3.*
or 7.*
PHPUnit 6
For previous versions of PHPUnit use the tag 0.2.*
PHPUnit <5
For previous versions of PHPUnit use the tag 0.1.*