Search by

limedeck / phpunit-detailed-printer

HRccjakubhomoly

Formatter for the detailed output of PHPUnit tests.

Package info

github.com/LimeDeck/phpunit-detailed-printer

pkg:composer/limedeck/phpunit-detailed-printer

Statistics

Installs: 661 335

Dependents: 48

Suggesters: 0

Stars: 38

Open Issues: 1

7.1.0 2026-10-26 16:10 UTC

This package is auto-updated.

Last update: 2026-11-11 16:55:22 UTC


README

It turns the default PHPUnit output...

default-printer

... into a more informative output with readable function names and execution time allowing you to start fixing errors even before the whole suite finishes:

detailed-printer

CI GitHub release

Installation

Requires PHP 8.3 or newer.

composer require limedeck/phpunit-detailed-printer --dev

PHPUnit version compatibility

PHPUnit Package
10.x – 13.x 7.x.x
9.x.x 6.x.x
8.x.x 5.x.x
7.x.x 4.x.x
6.x.x 3.2.x
5.x.x 2.0.x

Usage

Register the extension in phpunit.xml

<?xml version="1.0" encoding="UTF-8"?>
<phpunit ...>
    <extensions>
        <bootstrap class="LimeDeck\Testing\Extension"/>
    </extensions>
</phpunit>

It replaces the progress dots and does nothing when progress output is off (--no-output, --no-progress, --teamcity or --debug).

Tests

To run the test suite, use phpunit command.

Contributing

Thanks for your interest in PHPUnit Detailed Printer! If you'd like to contribute, please read our contributing guide.

License

Detailed PHPUnit Printer is open-sourced software licensed under the MIT license. If you'd like to read the license agreement, click here.