Query: tap::formatter::color
OS: osx
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
TAP::Formatter::Color(3pm) Perl Programmers Reference Guide TAP::Formatter::Color(3pm)NAMETAP::Formatter::Color - Run Perl test scripts with colorVERSIONVersion 3.23DESCRIPTIONNote 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. If Term::ANSIColor cannot be found (or Win32::Console if running under Windows) tests will be run without color.SYNOPSISuse TAP::Formatter::Color; my $harness = TAP::Formatter::Color->new( \%args ); $harness->runtests(@tests);METHODSClass Methods "new" The constructor returns a new "TAP::Formatter::Color" object. If Term::ANSIColor is not installed, returns undef. "can_color" Test::Formatter::Color->can_color() 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. "set_color" Set the output color. perl v5.16.2 2012-10-25 TAP::Formatter::Color(3pm)
Similar Topics in the Unix Linux Community |
---|
When is a _function_ not a _function_? |
My first PERL incarnation... Audio Oscillograph |
A dash to GOTO or a dash from GOTO, that is the question... |
Syntax error in subtraction in Bash |