/peridot-list-reporter

A list reporter for the Peridot testing framework

Primary LanguagePHPMIT LicenseMIT

Peridot List Reporter

Build Status HHVM Status

A simple list reporter for the Peridot testing framework.

Peridot list reporter

##Usage

We recommend installing the reporter to your project via composer:

$ composer require --dev peridot-php/peridot-list-reporter:~1.0

You can register the reporter via your peridot.php file.

<?php
use Peridot\Reporter\ListReporter\ListReporterPlugin;

return function(EventEmitterInterface $emitter) {
    $list = new ListReporterPlugin($emitter);
};

##Running reporter tests

You can run the reporter specs and also preview the reporter in action like so:

$ vendor/bin/peridot specs/ -r list