https://github.com/tomasvotruba/phpunit-json-result
Print tests result in JSON in PHPUnit 10+ so other tools can use it
https://github.com/tomasvotruba/phpunit-json-result
json output php phpunit result
Last synced: about 1 month ago
JSON representation
Print tests result in JSON in PHPUnit 10+ so other tools can use it
- Host: GitHub
- URL: https://github.com/tomasvotruba/phpunit-json-result
- Owner: TomasVotruba
- Created: 2024-01-23T19:30:55.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-04T13:18:53.000Z (7 months ago)
- Last Synced: 2025-04-12T08:03:39.110Z (about 1 month ago)
- Topics: json, output, php, phpunit, result
- Language: PHP
- Homepage:
- Size: 20.5 KB
- Stars: 11
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PHPUnit Json Result Printer
Other PHP CLI tool can communicate with API using JSON. Why not PHPUnit?
This package requires PHPUnit 10+ and PHP 8.1+.
## Install
```bash
composer require --dev tomasvotruba/phpunit-json-result-printer
```## Usage
Register extension in your `phpunit.xml` file:
```xml
```