Shlomi Fish > Test-Run-Plugin-FailSummaryComponents-0.0100_02 > Test::Run::Plugin::FailSummaryComponents

Download:
Test-Run-Plugin-FailSummaryComponents-0.0100_02.tar.gz

Dependencies

Annotate this POD

Module Version: 0.0100_02   Source  

NAME ^

Test::Run::Plugin::FailSummaryComponents - A Test::Run plugin that customizes the failure summary line.

SYNOPSIS ^

    package MyTestRun;
    
    use vars qw(@ISA);

    @ISA = (qw(Test::Run::Plugin::FailSummaryComponents Test::Run::Obj));

    my $tester = MyTestRun->new(
        test_files => 
        [
            "t/sample-tests/one-ok.t",
            "t/sample-tests/several-oks.t"
        ],
        );

    $tester->runtests();

EXTRA PARAMETERS TO NEW ^

We accept three new named parameters to the new constructor:

failsumm_remove_test_scripts_number

If set, removes the $N-out-of-$N test scripts number from the failure line.

failsumm_remove_test_scripts_percent

If set, removes the percent of the test scripts that failed.

failsumm_remove_subtests_percent

If set, removes the percent of the subtests that failed.

AUTHOR ^

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

BUGS ^

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

SEE ALSO ^

Test::Run::Obj, Test::Run::CmdLine::Plugin::FailSummaryComponents.

ACKNOWLEDGEMENTS ^

COPYRIGHT & LICENSE ^

Copyright 2006 Shlomi Fish, all rights reserved.

This program is released under the MIT X11 License.

syntax highlighting: