Lines Matching defs:plan
30 plan
125 =head2 I love it when a plan comes together
127 Before anything else, you need a testing plan. This basically declares
131 The preferred way to do this is to declare a plan when you C<use Test::More>.
137 have no plan. (Try to avoid using this as it weakens your test.)
155 Alternatively, you can use the plan() function. Useful for when you
159 plan tests => keys %Stuff * 3;
165 plan skip_all => 'Test irrelevant on MacOS';
168 plan tests => 42;
173 sub plan {
174 my(@plan) = @_;
181 foreach my $idx (0..$#plan) {
182 if( $plan[$idx] eq 'import' ) {
183 my($tag, $imports) = splice @plan, $idx, 2;
189 $Test->plan(@plan);
196 goto &plan;
786 in the SKIP block so the # of tests run will match up with your plan.