tomasvotruba / phpunit-json-result-printer
Print your PHPUnit result in JSON, so other tool can pipe it
Installs: 2 541
Dependents: 1
Suggesters: 0
Security: 0
Stars: 10
Watchers: 2
Forks: 1
Open Issues: 0
Requires
- php: ^8.1
- phpunit/phpunit: ^10.5|^11.0
Requires (Dev)
- rector/rector: ^1.2
- symplify/easy-coding-standard: ^12.3
- tracy/tracy: ^2.10
README
Other PHP CLI tool can communicate with API using JSON. Why not PHPUnit?
This package requires PHPUnit 10+ and PHP 8.1+.
Install
composer require --dev tomasvotruba/phpunit-json-result-printer
Usage
Register extension in your phpunit.xml
file:
<extensions> <bootstrap class="TomasVotruba\PHPUnitJsonResultPrinter\PHPUnitJsonResultPrinterExtension" /> </extensions>