Lines Matching defs:Test
1 package Test::Simple;
10 use Test::Builder;
11 my $Test = Test::Builder->new;
18 $Test->exported_to($caller);
19 $Test->plan(@_);
25 Test::Simple - Basic utilities for writing tests.
29 use Test::Simple tests => 1;
36 ** If you are unfamiliar with testing B<read Test::Tutorial> first! **
40 complicated testing, use the Test::More module (a drop-in replacement
52 use Test::Simple tests => 23;
87 $Test->ok(@_);
93 Test::Simple will start by printing number of tests run in the form
95 format lets Test::Harness know how many tests you plan on running in
98 If all your tests passed, Test::Simple will exit with zero (which is
101 will be considered failures. If no tests were ever run Test::Simple
116 recommended you look at L<Test::More>.
123 use Test::Simple tests => 5;
155 Test::Simple will only report a maximum of 254 failures in its exit
172 Test::Simple is B<explicitly> tested all the way back to perl 5.004.
174 Test::Simple is thread-safe in perl 5.8.0 and up.
192 =item L<Test::More>
194 More testing functions! Once you outgrow Test::Simple, look at
195 Test::More. Test::Simple is 100% forward compatible with Test::More
196 (i.e. you can just use Test::More instead of Test::Simple in your
199 =item L<Test>
203 =item L<Test::Unit>
207 =item L<Test::Inline>, L<SelfTest>
211 =item L<Test::Harness>