in reply to Re^3: Toggling test plans with vim
in thread Toggling test plans with vim
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.use Test::More 'declare_done'; # tests here.... done_testing();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: An alternative to 'no_plan'
by tphyahoo (Vicar) on Aug 10, 2006 at 09:59 UTC | |
|
Re: An alternative to 'no_plan'
by BrowserUk (Patriarch) on Aug 10, 2006 at 01:10 UTC |