peridot-php/peridot-dot-reporter

A dot reporter for the Peridot testing framework

1.0.0 2014-11-11 03:40 UTC

This package is not auto-updated.

Last update: 2024-11-09 17:03:47 UTC


README

Build Status HHVM Status

A simple dot matrix reporter for the Peridot testing framework.

Peridot dot reporter

##Usage

We recommend installing the reporter to your project via composer:

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

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

<?php

use Evenement\EventEmitterInterface;
use Peridot\Reporter\Dot\DotReporterPlugin;

return function(EventEmitterInterface $emitter) {
    $dot = new DotReporterPlugin($emitter);
};

##Running reporter tests

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

$ vendor/bin/peridot specs/ -r dot