Lines Matching defs:Test

4 package Test::Harness;
7 use Test::Harness::Straps;
8 use Test::Harness::Assert;
28 Test::Harness - Run Perl standard test scripts with statistics
34 $Header: /home/cvs/test-harness/lib/Test/Harness.pm,v 1.80 2003/12/31 02:39:21 andy Exp $
61 $Strap = Test::Harness::Straps->new;
75 use Test::Harness;
82 Test::Simple. Otherwise, read on.
84 (By using the Test module, you can write test scripts without
92 script. Test::Harness::runtests(@tests) runs all the testscripts
101 The following explains how Test::Harness interprets the output of your
137 omitted. In this case Test::Harness maintains temporarily its own
162 Currently, Test::Harness does nothing with this information.
170 C<Test::Harness> reports the text after C< # Skip\S*\s+> as a reason
207 Test::Harness will report it as a bonus. This indicates that whatever
220 C<Test::Harness> as the reason why testing is stopped.
225 lines. Comment lines should begin with a '#', Test::Harness will
235 Any other output Test::Harness sees it will silently ignore B<BUT WE
243 Test::Harness will honor the C<-T> or C<-t> in the #! line on your
253 Test::Harness. They are exported on request.
257 =item B<$Test::Harness::Verbose>
259 The global variable C<$Test::Harness::Verbose> is exportable and can be
264 =item B<$Test::Harness::switches>
266 The global variable C<$Test::Harness::switches> is exportable and can be
283 Test returned status 3 (wstat 768, 0x300)
286 Failed Test Stat Wstat Total Fail Failed List of Failed
298 =item B<Failed Test>
333 Test::Harness currently only has one function, here it is.
451 # Test-wide totals.
471 if ( $Test::Harness::Debug ) {
614 \r and such). C<$ml> may be empty if Test::Harness doesn't think you're
715 warn "Test header seen more than once!\n" if $self->{_seen_header};
747 print "Test output counter mismatch [test $curr]\n";
804 # Test program go boom.
850 my $failed_str = "Failed Test";
989 C<&runtests> is exported by Test::Harness by default.
1007 =item C<Test returned status %d (wstat %d)>
1053 If true, Test::Harness will print debugging information about itself as
1055 the output from the test being run. Setting C<$Test::Harness::Debug> will
1103 If true, Test::Harness will output the verbose results of running
1104 its tests. Setting C<$Test::Harness::verbose> will override this,
1111 Here's how Test::Harness tests itself
1113 $ cd ~/src/devel/Test-Harness
1114 $ perl -Mblib -e 'use Test::Harness qw(&runtests $verbose);
1116 Using /home/schwern/src/devel/Test-Harness/blib
1126 L<Test> and L<Test::Simple> for writing test scripts, L<Benchmark> for
1153 on the state of the tests. (Partially done in Test::Harness::Straps)