Gabor Szabo wrote: > BTW what about > > use Test::More; > pass; > pass; > # done_testing() # not being called at all. > > Is this a failure now as there was no plan, not even a no_plan ?
It's a failure by virtue of there being no TAP plan. I didn't feel it was necessary to output an explicit failing test as the lack of a plan will fail just fine and reflects what failed. ok 1 ok 2 # Tests were run but no plan was declared and done_testing() was not seen. -- emacs -- THAT'S NO EDITOR... IT'S AN OPERATING SYSTEM!