Test::Proto::Formatter::TestBuilder - formats RunnerEvents as TestBuilder events.
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.
ok
$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.
$formatter->format($runner);
Outputs information from a test runner that is already complete but did not expect to be outputting to Test::Builder.
For author, version, bug reports, support, etc, please see Test::Proto.
To install Test::Proto, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Proto
CPAN shell
perl -MCPAN -e shell install Test::Proto
For more information on module installation, please visit the detailed CPAN module installation guide.