Perl-Sensitive Sunglasses | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I find this really useful, thanks. I'm using it as a consequence of the sitation I described in Reporting test failures within cron. I noticed it doesn't work quite right if I run an incorrect number of tests. For example:
We expect three tests but only run two, which both succeed. Fortunately, is_expected deals with this, but unfortunately show_details doesn't report the failure. The altered is_expected_test_result below fixes this reporting problem:
I discovered this when running some Test::WWW::Mechanize tests against a server that stops responding, causing later tests not to run. In reply to Re: Quiet test runner
by tomhukins
|
|