Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks,
How do I check at the end of test scripts whether there are failing tests? Or do I have to keep track myself?
use Test::More tests => 50; use File::Temp qw(tempdir); my $dir = tempdir(CLEANUP=>1); # tests ... # more tests ... # yet even more tests ... # get out of $tmpdir to clean it up chdir("/") if THERE_ARE_NO_FAILING_TESTS;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Finding out whether there are failing tests
by Anonymous Monk on Feb 09, 2011 at 03:26 UTC | |
by Anonymous Monk on Feb 09, 2011 at 07:50 UTC |