zf2timo / phpunit-pretty-result-printer
Prints Result of PHPUnit in a nicer format
Installs: 25 753
Dependents: 2
Suggesters: 0
Security: 0
Stars: 6
Watchers: 3
Forks: 2
Open Issues: 2
Requires
- php: >=7.0
- ext-mbstring: *
Requires (Dev)
- phpunit/phpunit: ^6.3
- squizlabs/php_codesniffer: ^2.3
This package is auto-updated.
Last update: 2024-12-10 20:30:55 UTC
README
This Result Printer for PHPUnit shows more information in a more readable format during a test run
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