Registry / testing / sempro-phpunit-pretty-print

sempro-phpunit-pretty-print

JSON →
library1.4.0phppackagistunverified

Prettify PHPUnit output

composer require sempro/phpunit-pretty-print
INSTALL
IMPORT
SIG · SEMPRO-PHPUNIT-PRE
S
sempro-phpunit-pretty-print
testingphpv1.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PrettyPrinter
use Sempro\PHPUnitPrettyPrint\PrettyPrinter;

Configure PHPUnit to use the pretty printer for colored output

use Sempro\PHPUnitPrettyPrint\PrettyPrinter; // In phpunit.xml, set printerClass: // <phpunit printerClass="Sempro\PHPUnitPrettyPrint\PrettyPrinter">
Debug
Known issues
gotchaMay conflict with other custom printers or PHPUnit versions.
fix
Ensure compatibility with your PHPUnit version; test with a simple suite first.
affects: >=1.0.0
Upgrade
Version history
1.4.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
sempro-phpunit-pretty-print — pip install sempro-phpunit-pretty-print · libregistry