Skip to content

Result Printer for PHPUnit with more Information in progress view

License

Notifications You must be signed in to change notification settings

zf2timo/PHPUnitPrettyResultPrinter

Repository files navigation

PHPUnit Pretty Result Printer

This Result Printer for PHPUnit shows more information in a more readable format during a test run

Branch Status Dependency Status
master Build Status Dependency Status
develop Build Status Dependency Status

Preview

PHPUnitPrettyResultPrinter Screenshot

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

About

Result Printer for PHPUnit with more Information in progress view

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages