GitHub - whatthejeff/fab-phpunit-resultprinter: Make your unit tests fabulous! | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
Skip to content

whatthejeff/fab-phpunit-resultprinter

Repository files navigation

The Fab PHPUnit Result Printer

Make your unit tests fabulous!

Usage

fabulous unit tests

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:

Installation

The recommended way to install the Fab PHPUnit Result Printer is through composer. 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 <phpunit> 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 <phpunit> element in your phpunit.xml file:

bootstrap="vendor/autoload.php"

Tests

Build Status

To run the test suite, you need composer.

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

Acknowledgements

The Fab PHPUnit Result Printer was heavily inspired by the glorious minitest/pride.

License

Fab is licensed under the MIT license.

About

Make your unit tests fabulous!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.