2017 © Pedro Peláez
 

library fab-phpunit-resultprinter

Make your unit tests fabulous!

image

whatthejeff/fab-phpunit-resultprinter

Make your unit tests fabulous!

  • Monday, August 11, 2014
  • by whatthejeff
  • Repository
  • 0 Watchers
  • 21 Stars
  • 8,475 Installations
  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 4 Versions
  • 4 % Grown

The README.md

The Fab PHPUnit Result Printer

Make your unit tests fabulous!, (*1)

Usage

fabulous unit tests, (*2)

Requirements

The Fab PHPUnit Result Printer requires:, (*3)

  • 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:, (*4)

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:, (*5)

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

Once installed, add the following attributes to the <phpunit> element in your phpunit.xml file:, (*6)

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:, (*7)

bootstrap="vendor/autoload.php"

Tests

Build Status, (*8)

To run the test suite, you need composer., (*9)

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

Acknowledgements

The Fab PHPUnit Result Printer was heavily inspired by the glorious minitest/pride., (*10)

License

Fab is licensed under the MIT license., (*11)

The Versions

11/08 2014

dev-master

9999999-dev http://github.com/whatthejeff/fab-phpunit-resultprinter

Make your unit tests fabulous!

  Sources   Download

MIT

The Requires

 

The Development Requires

phpunit tests fab colorful fabulous rainbow

17/02 2013

v1.0.1

1.0.1.0 http://github.com/whatthejeff/fab-phpunit-resultprinter

Make your unit tests fabulous!

  Sources   Download

MIT

The Requires

 

The Development Requires

phpunit tests fab colorful fabulous rainbow

14/02 2013

v1.0.0

1.0.0.0 http://github.com/whatthejeff/fab-phpunit-resultprinter

Make your unit tests fabulous!

  Sources   Download

MIT

The Requires

 

The Development Requires

phpunit tests fab colorful fabulous rainbow