https://github.com/czim/phpunit-printer
  
  
    Custom PHPUnit output printer 
    https://github.com/czim/phpunit-printer
  
output phpunit pretty-printer testing
        Last synced: 5 months ago 
        JSON representation
    
Custom PHPUnit output printer
- Host: GitHub
- URL: https://github.com/czim/phpunit-printer
- Owner: czim
- License: mit
- Created: 2019-04-08T07:29:48.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-04-12T07:59:29.000Z (over 2 years ago)
- Last Synced: 2025-04-03T09:21:49.556Z (7 months ago)
- Topics: output, phpunit, pretty-printer, testing
- Language: PHP
- Size: 32.2 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
- 
            Metadata Files:
            - Readme: README.md
- License: LICENSE.md
 
Awesome Lists containing this project
README
          # PHPUnit Printer
Custom styled PHPUnit print output for testing our projects.
### Compatibility
| PHPUnit version | Package version |
|-----------------|-----------------|
| < 9             | 0.9             |
| 9               | 1.0             |
| 10              | 2.0             |
### Install
```bash
composer require czim/phpunit-printer --dev
```
### Usage
You can add the package extension to your project's `phpunit.xml` file:
```xml
    
    
        
    
    
    
```
Then you can run with only the new custom output by hiding the default progress:
```bash
vendor/bin/phpunit --no-progress
```
You can also run it with normal progress. The custom formatting will be displayed directly after
the normal progress indicators when all tests are finished.