TAP::Harness::Color - Run Perl test scripts with color
Note that this harness is experimental. You may not like the colors I've chosen and I haven't yet provided an easy way to override them.
This test harness is the same as TAP::Harness, but test results are output in color. Passing tests are printed in green. Failing tests are in red. Skipped tests are blue on a white background and TODO tests are printed in white.
use TAP::Harness::Color; my $harness = TAP::Harness::Color->new( \%args ); $harness->runtests(@tests);
my %args = ( verbose => 1, lib => [ 'lib', 'blib/lib' ], shuffle => 0, ) my $harness = TAP::Harness::Color->new( \%args );
Returns a boolean indicating whether or not this module can actually generate colored output. This will be false if it could not load the modules needed for the current platform.
failure_output to output failure information in red.