zf2timo / phpunit-pretty-result-printer
Prints Result of PHPUnit in a nicer format
Package info
github.com/zf2timo/PHPUnitPrettyResultPrinter
pkg:composer/zf2timo/phpunit-pretty-result-printer
2.0.0
2017-10-04 19:29 UTC
Requires
- php: >=7.0
- ext-mbstring: *
Requires (Dev)
- phpunit/phpunit: ^6.3
- squizlabs/php_codesniffer: ^2.3
This package is auto-updated.
Last update: 2026-03-10 23:06:36 UTC
README
This Result Printer for PHPUnit shows more information in a more readable format during a test run
| Branch | Status | Dependency Status |
|---|---|---|
| master | ||
| develop |
Preview
Installation
Installation is provided via composer and can be done with the following command:
$ composer require --dev zf2timo/phpunit-pretty-result-printer
To activate the Printer for PHPUnit, just add it to your configuration XML:
<?xml version="1.0" encoding="UTF-8"?> <phpunit printerClass="zf2timo\PrettyResultPrinter\Printer"> // .... </phpunit>
Configuration
In some Environments like Travis, Jenkins or some old Bash Console the UTF-8 Characters ✘ and ✔ are not supported. You can enable the default PHPUnit symbols by exporting an environment variable:
$ export PHP_CI=true
$ php vendor/bin/phpunit
