Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/defenestrator/test-printer

A test result printer for PHPUnit
https://github.com/defenestrator/test-printer

composer php phpunit printer test-printer testing

Last synced: 3 months ago
JSON representation

A test result printer for PHPUnit

Awesome Lists containing this project

README

        

![](https://raw.githubusercontent.com/defenestrator/test-printer/master/assets/images/copacetic-face.png)

# Defenestrator Test Printer

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

![](https://raw.githubusercontent.com/defenestrator/test-printer/master/assets/images/screenshot.png)

## Installation

Install Defenestrator Test Result Printer with composer:

composer require --dev defenestrator/test-printer

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

```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 `` element of `phpunit.xml`.

```

...

```