On Thu, Jun 25, 2009 at 12:08 AM, David E. Wheeler<da...@kineticode.com> wrote: > The how about: > > subtest { > plan tests => 3, > for => 'my sanity'; > pass; pass; pass; > } >
As long as we're bike-shedding, a simplification: subtest { plan "sanity check" => 3; pass for 1 .. 3; } Anything other than "no_plan" or "skip_all" is taken as if "tests". -- David