TAP::Formatter::Color(3pm) - phpMan

Command: man perldoc info search(apropos)  


TAP::Formatter::Color(3)       User Contributed Perl Documentation       TAP::Formatter::Color(3)



NAME
       TAP::Formatter::Color - Run Perl test scripts with color

VERSION
       Version 3.28

DESCRIPTION
       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.

       If Term::ANSIColor cannot be found (or Win32::Console if running under Windows) tests will
       be run without color.

SYNOPSIS
        use TAP::Formatter::Color;
        my $harness = TAP::Formatter::Color->new( \%args );
        $harness->runtests(@tests);

METHODS
   Class 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.3                                2013-05-02                   TAP::Formatter::Color(3)

Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2024-04-24 18:50 @3.15.202.214 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0!Valid CSS!