<quote who='David Golden' when='Thu, Jun 25, 2009 at 12:59:07AM -0400'>
> As long as we're bike-shedding, a simplification:
>
> subtest {
> plan "sanity check" => 3;
> pass for 1 .. 3;
> }
+1
I like anything that keeps it roughly in line with the syntax for TODO
and SKIP blocks:
SKIP: {
skip $why, $how_many unless $have_some_feature;
ok( foo(), $test_name );
is( foo(42), 23, $test_name );
};
TODO: {
local $TODO = $why;
ok( foo(), $test_name );
is( foo(42), 23, $test_name );
};
J
