PHPackages                             rpkamp/fancy-testdox-printer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. rpkamp/fancy-testdox-printer

AbandonedArchivedLibrary[Testing &amp; Quality](/categories/testing)

rpkamp/fancy-testdox-printer
============================

A fancy testdox printer for PHPUnit

0.2.5(8y ago)3869.8k14MITPHP

Since Oct 7Pushed 7y ago1 watchersCompare

[ Source](https://github.com/rpkamp/fancy-testdox-printer)[ Packagist](https://packagist.org/packages/rpkamp/fancy-testdox-printer)[ RSS](/packages/rpkamp-fancy-testdox-printer/feed)WikiDiscussions master Synced today

READMEChangelog (8)Dependencies (2)Versions (9)Used By (4)

⛔ This package is deprecated, upgrade to PHPUnit 7+ and use `phpunit --testdox` instead! ⛔
==========================================================================================

[](#-this-package-is-deprecated-upgrade-to-phpunit-7-and-use-phpunit---testdox-instead-)

Fancy Testdox Printer [![Build Status](https://camo.githubusercontent.com/de2a5054be15117aa6d393e60a8ac80203669864c66873abbfae7e97fdb8cf22/68747470733a2f2f7472617669732d63692e6f72672f72706b616d702f66616e63792d74657374646f782d7072696e7465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/rpkamp/fancy-testdox-printer)
=========================================================================================================================================================================================================================================================================================================================================

[](#fancy-testdox-printer-)

A fancy testdox printer for PHPUnit. Output is similar to PHPUnit's `--testdox` output, but:

- Tests are more clearly marked as failing/passing by colored1 symbols
- Failures/errors etc are shown inline instead of at the end of the test run for more clear and early feedback

PHPUnit compatibility
---------------------

[](#phpunit-compatibility)

Major versionSupportPHPUnit 5Not supportedPHPUnit 6Supported until February 2019PHPUnit 7+N/A, use built-in `--testdox` optionThis printer is compatible with **PHPUnit 6 only**. PHPUnit 5 support has ended, so there are no plans to add support for it in this package.

In **PHPUnit 7** the default testdox printer has been replaced with this printer. Therefore there is no version of this package that supports PHPUnit 7, nor will there ever be, as it is not needed. To obtain the same output in PHPUnit 7 run `phpunit --testdox`. If you also want to see the time each test took run `phpunit --testdox -v`.

During the support period for PHPUnit 6, which ends February 2019, this printer will receive support as well, but after that it will be abandoned.

Legend
------

[](#legend)

SymbolColorMeaning✔greentest passed✘redassertion failed✘yellowPHPUnit error or warning∅yellowincomplete test☢yellowrisky test→yellowskipped testWhen less than 70% of the tests fail it will show a summary of errors at the end of the output. 70% is a guess and may change in the future, but it seemed like a nice cut off point that you have so much noise in the output already you don't need any more noise. (this was introduced in version 0.2.0)

Installation
------------

[](#installation)

On the command line run

```
composer require rpkamp/fancy-testdox-printer --dev

```

to install this package as a development dependency

Usage
-----

[](#usage)

To use this printer you can either pass a command line argument to PHPUnit or edit `phpunit.xml`

### Command line

[](#command-line)

On the command line run

```
vendor/bin/phpunit --printer "rpkamp\FancyTestdoxPrinter"

```

### phpunit.xml

[](#phpunitxml)

In `phpunit.xml` add `printerClass="rpkamp\FancyTestdoxPrinter"` to the `phpunit` tag (see [`phpunit.xml`](https://github.com/rpkamp/fancy-testdox-printer/blob/master/phpunit.xml) for an example).

Example output
--------------

[](#example-output)

The output of the test suite for this project using itself as a printer looks as follows:

[![Own test suite](images/testsuite.png)](images/testsuite.png)

(run `vendor/bin/phpunit` to obtain this output)

A possible output with failures, errors, etc looks as follows:

[![Example output](images/example.png)](images/example.png)

(run `vendor/bin/phpunit --configuration phpunit.example.xml -v` to obtain this output)

Note that without `-v` the risky, incomplete and skipped tests don't print additional information

1 In case your terminal supports this and you have it enabled in PHPUnit

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~14 days

Recently: every ~9 days

Total

8

Last Release

3087d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/79a3929a9bceef3d45d7e4987b268ee6f1a15220959b0724ec66d2a46e0009e3?d=identicon)[rpkamp](/maintainers/rpkamp)

---

Top Contributors

[![rpkamp](https://avatars.githubusercontent.com/u/1059790?v=4)](https://github.com/rpkamp "rpkamp (35 commits)")[![luispabon](https://avatars.githubusercontent.com/u/6388823?v=4)](https://github.com/luispabon "luispabon (2 commits)")[![raphaelstolt](https://avatars.githubusercontent.com/u/48225?v=4)](https://github.com/raphaelstolt "raphaelstolt (1 commits)")[![samlitowitz](https://avatars.githubusercontent.com/u/4641296?v=4)](https://github.com/samlitowitz "samlitowitz (1 commits)")[![voronkovich](https://avatars.githubusercontent.com/u/2299535?v=4)](https://github.com/voronkovich "voronkovich (1 commits)")

---

Tags

printerphpunittestdox

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/rpkamp-fancy-testdox-printer/health.svg)

```
[![Health](https://phpackages.com/badges/rpkamp-fancy-testdox-printer/health.svg)](https://phpackages.com/packages/rpkamp-fancy-testdox-printer)
```

###  Alternatives

[brianium/paratest

Parallel testing for PHP

2.5k136.1M984](/packages/brianium-paratest)[drupal/core-dev

require-dev dependencies from drupal/drupal; use in addition to drupal/core-recommended to run tests from drupal/core.

2022.6M344](/packages/drupal-core-dev)[diablomedia/phpunit-pretty-printer

A PHPUnit result printer that shows per-file test progress and execution times

80536.3k5](/packages/diablomedia-phpunit-pretty-printer)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
