On Thursday 20 July 2006 13:05, Adriano Ferreira wrote:
> Sometimes, I would like to
> have something like that below so that I don't need to think about how
> to compute the number of tests beforehand
I don't understand this. I have a Vim macro that switches between:
use Test::More 'no_plan';
... and:
use Test::More tests => 1;
When I work on a test suite, I switch off the plan. When I finish, I look at
the number of tests run, switch on the plan, and with my cursor helpfully
at '1', I change the number of tests.
This has only been too inflexible for me when I use Test::Class to handle
complex suites, and it's not an issue there.
-- c