| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Test::Run; |
|
2
|
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
406068
|
use strict; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
108
|
|
|
4
|
1
|
|
|
1
|
|
7
|
use warnings; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
120
|
|
|
5
|
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
=head1 NAME |
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
Test::Run - a new and improved test harness for TAP scripts. |
|
9
|
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
=head1 SYNPOSIS |
|
11
|
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
cpanp -i Task::Test::Run::AllPlugins |
|
13
|
|
|
|
|
|
|
export HARNESS_PLUGINS="ColorSummary ColorFileVerdicts" |
|
14
|
|
|
|
|
|
|
runprove t/*.t |
|
15
|
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=head1 ABOUT |
|
17
|
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
Test::Run is an improved test harness, originally based on L<Test::Harness> |
|
19
|
|
|
|
|
|
|
version 2.xx by Michael G. Schwern, Andy Lester and others. |
|
20
|
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
The top-level "Test::Run" by itself does not do much. You should refer |
|
22
|
|
|
|
|
|
|
to L<Task::Test::Run::AllPlugins> for more detailed instructions. |
|
23
|
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
The rest of this page contains some information and links about Test::Run. |
|
25
|
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 LINKS |
|
27
|
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=over 4 |
|
29
|
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=item * L<http://testanything.org/wiki/index.php/Test::Run> |
|
31
|
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
Test::Run on the Test Anything Protocol wiki. |
|
33
|
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=item * L<http://testanything.org/wiki/index.php/TAP_Consumers> |
|
35
|
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
Other TAP consumers. |
|
37
|
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=item * L<Test::Tutorial> |
|
39
|
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
Learn how to write Perl tests. |
|
41
|
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=back |
|
43
|
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 ACKNOWLEDGEMENTS |
|
45
|
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
The (possibly ad-hoc) regex for matching the optional digits+symbols |
|
47
|
|
|
|
|
|
|
parameters' prefix of the sprintf conversion was originally written by Bart |
|
48
|
|
|
|
|
|
|
Lateur (BARTL on CPAN) for his L<String::Sprintf> module. |
|
49
|
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head1 COPYRIGHT & LICENSE |
|
51
|
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
Copyright 2006 Shlomi Fish, all rights reserved. |
|
53
|
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
This program is released under the following license: MIT X11. |
|
55
|
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=cut |
|
57
|
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
1; # End of Test::Run |