![]() |
|
Problems? Is your data what you think it is? | |
PerlMonks |
An alternative to 'no_plan'by markjugg (Curate) |
on Aug 10, 2006 at 00:57 UTC ( #566523=note: print w/replies, xml ) | Need Help?? |
That seems like a good idea to me. Why wouldn't this be a reasonable alternative to keeping track of a test count:
I've declared that my plan is to declare when I'm done testing. At the end of the test script, I do just that. Now, if the script exits early and done_testing() hasn't be called, we know there was a problem, and we know where it is, because we know the last test that was run.
In Section
Meditations
|
|