G'day Doozer,
I'm not sure if this is applicable to your current situation, but if you can test for the skip condition up-front, you can do something like:
if ($skip_condition) { plan skip_all => $skip_reason; } else { plan tests => $number_of_tests; } # Planned tests here
-- Ken
In reply to Re: Test::More - Skip following tests if one test fails
by kcott
in thread Test::More - Skip following tests if one test fails
by Doozer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |