NAME
Test::Proto::Formatter::TestBuilder - formats RunnerEvents as TestBuilder events.
SYNOPSIS
my $formatter = Test::Proto::Formatter->new();
$formatter->event($testRunner, 'new');
$formatter->event($testRunner, 'done');
This formatter is only used by the Test::Proto::TestRunner class, and will be created when you use a prototype's ok
.
METHODS
event
$formatter->event($testRunner, 'new');
$formatter->event($testRunner, 'done');
Used in Test::Proto::TestRunner to inform the formatter of progress. Event types 'new' and 'done' are supported.
format
$formatter->format($runner);
Outputs information from a test runner that is already complete but did not expect to be outputting to Test::Builder.
OTHER INFORMATION
For author, version, bug reports, support, etc, please see Test::Proto.