Searched defs:plan (Results 1 - 4 of 4) sorted by relevance
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/ |
H A D | Test.pm | 28 @EXPORT = qw(&plan &ok &skip); 49 # use a BEGIN block so we print our plan before MyModule is loaded 50 BEGIN { plan tests => 14, todo => [3,4] } 101 This module defines three public functions, C<plan(...)>, C<ok(...)>, 107 =item C<plan(...)> 109 BEGIN { plan %theplan; } 112 declares your testing plan, how many there will be, if any of them 118 BEGIN { plan tests => 23 } 120 These are the things that you can put in the parameters to plan: 143 You must call C<plan( 150 sub plan { subroutine [all...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/ |
H A D | test.pl | 12 sub plan { subroutine 17 my %plan = @_; 18 $n = $plan{tests};
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Test/ |
H A D | More.pm | 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 { subroutine [all...] |
H A D | Builder.pm | 59 $Test->plan(@_); 131 =item B<plan> 133 $Test->plan('no_plan'); 134 $Test->plan( skip_all => $reason ); 135 $Test->plan( tests => $num_tests ); 140 If you call plan(), don't call any of the other methods below. 144 sub plan { subroutine 150 die sprintf "You tried to plan twice! Second plan at %s line %d\n", 166 "say how many tests you plan t [all...] |
Completed in 35 milliseconds