PHPackages                             whatthejeff/fab-phpunit-resultprinter - 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. whatthejeff/fab-phpunit-resultprinter

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

whatthejeff/fab-phpunit-resultprinter
=====================================

Make your unit tests fabulous!

v1.1.0(12y ago)208.8k2[1 issues](https://github.com/whatthejeff/fab-phpunit-resultprinter/issues)1MITPHPPHP &gt;=5.3.3

Since Feb 14Pushed 11y agoCompare

[ Source](https://github.com/whatthejeff/fab-phpunit-resultprinter)[ Packagist](https://packagist.org/packages/whatthejeff/fab-phpunit-resultprinter)[ Docs](http://github.com/whatthejeff/fab-phpunit-resultprinter)[ RSS](/packages/whatthejeff-fab-phpunit-resultprinter/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (11)Versions (4)Used By (1)

The Fab PHPUnit Result Printer
==============================

[](#the-fab-phpunit-result-printer)

Make your unit tests [fabulous](https://github.com/whatthejeff/fab)!

Usage
-----

[](#usage)

[![fabulous unit tests](https://github.com/whatthejeff/fab-phpunit-resultprinter/raw/master/fab.png)](https://github.com/whatthejeff/fab-phpunit-resultprinter/raw/master/fab.png)

Requirements
------------

[](#requirements)

The Fab PHPUnit Result Printer requires:

- PHP 5.3.3 or later.
- A terminal emulator with support for ANSI escape sequences.

**NOTE:** By default, the Windows console does not support ANSI escape sequences. If you'd like to use the Fab PHPUnit Result Printer on Windows, you may want to try one of the following solutions:

- [ANSICON](https://github.com/adoxa/ansicon)
- [ConEmu](https://github.com/Maximus5/ConEmu)

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

[](#installation)

The recommended way to install the Fab PHPUnit Result Printer is [through composer](http://getcomposer.org). Just create a `composer.json` file and run the `php composer.phar install` command to install it:

```
{
    "require-dev": {
        "whatthejeff/fab-phpunit-resultprinter": "~1.1"
    }
}
```

Once installed, add the following attributes to the `` element in your `phpunit.xml` file:

```
printerFile="vendor/whatthejeff/fab-phpunit-resultprinter/src/Fab/PHPUnit/ResultPrinter.php"
printerClass="Fab\PHPUnit\ResultPrinter"

```

**NOTE:** If PHPUnit was not installed via composer, you also need to include the composer autoloader. One easy way to do this is to add the following attribute to the `` element in your `phpunit.xml` file:

```
bootstrap="vendor/autoload.php"

```

Tests
-----

[](#tests)

[![Build Status](https://camo.githubusercontent.com/b4b7c69378f2eb0f88389f6693f3ecedc85f39b01e13bea12548465f9ba4a30b/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f776861747468656a6566662f6661622d706870756e69742d726573756c747072696e7465722e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/whatthejeff/fab-phpunit-resultprinter)

To run the test suite, you need [composer](http://getcomposer.org).

```
$ php composer.phar install
$ vendor/bin/phpunit

```

Acknowledgements
----------------

[](#acknowledgements)

The Fab PHPUnit Result Printer was **heavily** inspired by the glorious [minitest/pride](https://github.com/seattlerb/minitest/blob/abc8d7bbac2bf49b2207b5e4722212109463eb18/lib/minitest/pride_plugin.rb).

License
-------

[](#license)

Fab is licensed under the [MIT license](LICENSE).

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~129 days

Total

3

Last Release

4584d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/adbe017ebec901082c02ab3fd307196b2a1c9103c27c8e4327ba5ca25252a8d6?d=identicon)[whatthejeff](/maintainers/whatthejeff)

---

Top Contributors

[![whatthejeff](https://avatars.githubusercontent.com/u/306525?v=4)](https://github.com/whatthejeff "whatthejeff (19 commits)")

---

Tags

phpunittestsfabfabulousrainbowcolorful

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/whatthejeff-fab-phpunit-resultprinter/health.svg)

```
[![Health](https://phpackages.com/badges/whatthejeff-fab-phpunit-resultprinter/health.svg)](https://phpackages.com/packages/whatthejeff-fab-phpunit-resultprinter)
```

###  Alternatives

[whatthejeff/nyancat-phpunit-resultprinter

Nyan Cat result printer for PHPUnit

283689.8k24](/packages/whatthejeff-nyancat-phpunit-resultprinter)[whatthejeff/fab

Make your output fabulous!

401.0M5](/packages/whatthejeff-fab)[aik099/phpunit-mink

Library for using Mink in PHPUnit tests. Supports session sharing between tests in a test case.

72136.2k1](/packages/aik099-phpunit-mink)[phpunit/phpunit-dom-assertions

DOM assertions for PHPUnit

29343.5k11](/packages/phpunit-phpunit-dom-assertions)[janmarek/mockista

Mockista is library for mocking, which I've written, because I find mocking in PHPUnit awful.

29221.0k28](/packages/janmarek-mockista)[hot/phpunit-runner

The lib allows to watch phpunit tests

3066.9k4](/packages/hot-phpunit-runner)

PHPackages © 2026

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