Awesome Open Source
Awesome Open Source

Defenestrator Test Printer

Rather than see a string of dots and letters, get some darn information as your tests are running.

Installation

Install Defenestrator Test Result Printer with composer:

composer require --dev defenestrator/test-printer

You may alternatively include the project in your composer.json:

	{
		"require-dev": {
			"defenestrator/test-printer": ">=3.0.0"
		}
	}

If you don't use composer, you can simply download and save TestResultPrinter.php wherever you want. You should seriously use composer, dork.

Usage

To use the TestResultPrinter class, specify it in the root <phpunit> element of phpunit.xml.

<phpunit
    colors="true"
    printerClass="Defenestrator\TestResultPrinter"
    >
    ...
</phpunit>

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Php (392,228
Testing (6,368
Composer (2,222
Phpunit (568
Printer (325
Related Projects