Humbug PHPUnit Extensions
=========================

A collection of extensions intended to allow for:
* Timing of test and testsuite execution
* Filter/Reorder test suites using custom filters


Installation
============

```json
require: {
   "padraic/phpunit-extensions": "~1.0@dev"
}
```
Configuration
=============

Time Collector Listener
-----------------------

The Time Collector Listener logs timing data on tests and test suites for use
by the time dependent filters. You can enable it using the following phpunit.xml
snippet showing the listeners XML block.

```xml
  <listeners>
    <listener class="\Humbug\Phpunit\Listener\TimeCollectorListener">
      <arguments>
        <object class="\Humbug\Phpunit\Logger\JsonLogger">
          <arguments>
            <string>/path/to/times.json</string>
          </arguments>
        </object>
      </arguments>
    </listener>
  </listeners>
```
Humbug PHPUnit Extensions
=========================

A collection of extensions intended to allow for:
* Timing of test and testsuite execution
* Filter/Reorder test suites using custom filters

[![Build Status](https://travis-ci.org/padraic/phpunit-extensions.svg?branch=master)](https://travis-ci.org/padraic/phpunit-extensions)

Installation
============

```json
require: {
   "padraic/phpunit-extensions": "~1.0@dev"
}
```
Configuration
=============

Time Collector Listener
-----------------------

The Time Collector Listener logs timing data on tests and test suites for use
by the time dependent filters. You can enable it using the following phpunit.xml
snippet showing the listeners XML block.

```xml
  <listeners>
    <listener class="\Humbug\Phpunit\Listener\TimeCollectorListener">
      <arguments>
        <object class="\Humbug\Phpunit\Logger\JsonLogger">
          <arguments>
            <string>/path/to/times.json</string>
          </arguments>
        </object>
      </arguments>
    </listener>
  </listeners>
```
Add Build status image to readme
Add Build status image to readme
