Test::Run::Plugin::FailSummaryComponents - A Test::Run plugin that customizes the failure summary line.
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();
We accept three new named parameters to the new constructor:
If set, removes the $N-out-of-$N test scripts number from the failure line.
If set, removes the percent of the test scripts that failed.
If set, removes the percent of the subtests that failed.
Shlomi Fish, http://www.shlomifish.org/ .
Please report any bugs or feature requests to
firstname.lastname@example.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.
Copyright 2006 Shlomi Fish, all rights reserved.
This program is released under the MIT X11 License.