Test::Run::CmdLine::Plugin::ColorSummary - Color the summary in Test::Run::CmdLine.


Test-Run-Plugin-ColorSummary documentation Contained in the Test-Run-Plugin-ColorSummary distribution.

Index


Code Index:

NAME

Top

Test::Run::CmdLine::Plugin::ColorSummary - Color the summary in Test::Run::CmdLine.

$self->private_backend_plugins()

Returns the Backend Plugins as specified by this plugin. See Test::Run::CmdLine for more information.

$self->private_direct_backend_env_mapping()

Returns the HARNESS_SUMMARY_COL_FAIL and HARNESS_SUMMARY_COL_SUC environment variables.

SYNOPSIS

Top

This plug-in colors the summary line in Test::Run::CmdLine.

ENVIRONMENT VARIABLES

Top

This module accepts the followinge environment variables:

HARNESS_SUMMARY_COL_SUC

This specifies the Term::ANSIColor color for the success line.

HARNESS_SUMMARY_COL_FAIL

This specifies the Term::ANSIColor color for the failure line

AUTHOR

Top

Shlomi Fish, <shlomif@iglu.org.il>

BUGS

Top

Please report any bugs or feature requests to bug-test-run-cmdline-plugin-colorsummary@rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Run-CmdLine-Plugin-ColorSummary. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

Top

You can find documentation for this module with the perldoc command.

    perldoc Test::Run::CmdLine::Plugin::ColorSummary

You can also look for information at:

* AnnoCPAN: Annotated CPAN documentation

http://annocpan.org/dist/Test::Run::CmdLine::Plugin::ColorSummary

* CPAN Ratings

http://cpanratings.perl.org/d/Test::Run::CmdLine::Plugin::ColorSummary

* RT: CPAN's request tracker

http://rt.cpan.org/NoAuth/Bugs.html?Dist=Test::Run::CmdLine::Plugin::ColorSummary

* Search CPAN

http://search.cpan.org/dist/Test::Run::CmdLine::Plugin::ColorSummary/

SOURCE AVAILABILITY

Top

The latest source of Test::Run::CmdLine::Plugin::ColorSummary is available from the Test::Run BerliOS Subversion repository:

https://svn.berlios.de/svnroot/repos/web-cpan/Test-Harness-NG/

SEE ALSO

Top

Test::Run::Obj, Term::ANSIColor, Test::Run::Plugin::ColorSummary.

ACKNOWLEDGEMENTS

Top

COPYRIGHT & LICENSE

Top


Test-Run-Plugin-ColorSummary documentation Contained in the Test-Run-Plugin-ColorSummary distribution.
package Test::Run::CmdLine::Plugin::ColorSummary;

use warnings;
use strict;

our $VERSION = '0.0121';

sub private_backend_plugins
{
    my $self = shift;

    return [qw(ColorSummary)];
}

sub private_direct_backend_env_mapping
{
    my $self = shift;
    return
    [
        {
            'env' => "HARNESS_SUMMARY_COL_SUC",
            'arg' => "summary_color_success",
        },
        {
            'env' => "HARNESS_SUMMARY_COL_FAIL",
            'arg' => "summary_color_failure",
        },
    ];
}

1;