On Thu, Jul 20, 2006 at 04:01:00PM -0700, Michael G Schwern wrote: > On 7/20/06, Gabor Szabo <[EMAIL PROTECTED]> wrote: > >If I am not mistaken the problem with no_plan is that the test script > >might exit before actually running all the tests you wanted and Harness > >won't notice it. > > PS In all my years of testing I have never been bitten by this in the > real world which is why I've never bothered to code up a solution. > Anyone else?
I've been bitten by library code calling exit() while I've been using no_plan. I can't remember more than that (well, apart from that library wasn't pleasant code to read or use). I would have found some sort of "done testing" call useful to have made the test script fail for this case. Nicholas Clark