christophgockel/phpunit-loveprinter

dev-master 2013-09-09 20:23 UTC

This package is not auto-updated.

Last update: 2025-08-11 18:19:57 UTC


README

More love for developers!

Example

Unit Tests with Love

Requirements

The Love Printer works with PHP 5.3+ and PHPUnit 3.7+.

Installation

The recommended way to install the Love Printer is via composer. Create a composer.json file (or edit your existing one). Then add the folling dependency:

{
    "require-dev": {
        "christophgockel/phpunit-loveprinter": "*"
    }
}

Finally run php composer.phar install --dev to install it.

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

printerFile="vendor/christophgockel/phpunit-loveprinter/src/ChristophGockel/PHPUnit/LovePrinter.php"
printerClass="ChristophGockel\PHPunit\LovePrinter"

Acknowledgements

The Love Printer's packaging is heavily inspired by whatthejeff/fab-phpunit-resultprinter.

License

Love Printer is licensed under the MIT license.

<3