Skip to content

Print tests result in JSON in PHPUnit 10+ so other tools can use it

Notifications You must be signed in to change notification settings

ArborXR/phpunit-json-result

 
 

Repository files navigation

PHPUnit Json Result Printer

Other PHP CLI tool can communicate with API using JSON. Why not PHPUnit?

Install

composer require --dev tomasvotruba/phpunit-json-result-printer

Usage

Register extension in your phpunit.xml file:

<extensions>
    <bootstrap class="TomasVotruba\PHPUnitJsonResultPrinter\PHPUnitJsonResultPrinterExtension" />
</extensions>

About

Print tests result in JSON in PHPUnit 10+ so other tools can use it

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%