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;
In reply to Finding out whether there are failing tests by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |