|
|
| more useful options | |
| PerlMonks |
Re: Quiet test runnerby tomhukins (Curate) |
| on Sep 21, 2005 at 15:22 UTC ( #493839=note: 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 Section
Code Catacombs
|
|
||||||||||||||||||||||