| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Task::Test::Run::AllPlugins; |
|
2
|
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
67983
|
use warnings; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
34
|
|
|
4
|
1
|
|
|
1
|
|
5
|
use strict; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
54
|
|
|
5
|
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
=head1 NAME |
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
Task::Test::Run::AllPlugins - Specifications for installing all the Test::Run |
|
9
|
|
|
|
|
|
|
Plugins |
|
10
|
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=cut |
|
12
|
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
our $VERSION = '0.0106'; |
|
14
|
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
16
|
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
L<Test::Run> is an improved |
|
18
|
|
|
|
|
|
|
harness for running test files based on the "Test Anything Protocol" |
|
19
|
|
|
|
|
|
|
(TAP - L<http://testanything.org/> ), which is commonly used for writing tests |
|
20
|
|
|
|
|
|
|
for Perl code, but is otherwise universal. |
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
Installing this Task should get you up-to-speed with Test::Run by installing |
|
23
|
|
|
|
|
|
|
all the plugins that are available for it. |
|
24
|
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 USAGE |
|
26
|
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
From the CPAN or CPANPLUS shell type: |
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
install Task::Test::Run::AllPlugins |
|
30
|
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
And follow all the depenedencies. |
|
32
|
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
Afterwards, set the environment variable C<HARNESS_PLUGINS> to the following: |
|
34
|
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
export HARNESS_PLUGINS="ColorSummary ColorFileVerdicts" |
|
36
|
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
Or if you wish to use the Alternate Interpreters plugin as well to: |
|
38
|
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
export HARNESS_PLUGINS="ColorSummary ColorFileVerdicts AlternateInterpreters" |
|
40
|
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
Then you can use runprove to run and analyze TAP scripts (like CPAN |
|
42
|
|
|
|
|
|
|
modules t/*.t files) from the command line: |
|
43
|
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
runprove t/*.t |
|
45
|
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
If you have written a plugin and wish it to be included in this task, don't |
|
47
|
|
|
|
|
|
|
hesitate to contact me: L<http://www.shlomifish.org/me/contact-me/> . |
|
48
|
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head1 AUTHOR |
|
50
|
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
Shlomi Fish, L<http://www.shlomifish.org/> . |
|
52
|
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head1 SUPPORT |
|
54
|
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
You can find documentation for this module with the perldoc command. |
|
56
|
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
perldoc Task::Test::Run::AllPlugins |
|
58
|
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
You can also look for information at: |
|
60
|
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=over 4 |
|
62
|
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=item * The Test-Run Homepage |
|
64
|
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
( L<http://web-cpan.shlomifish.org/modules/Test-Run/> ) |
|
66
|
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=item * RT: CPAN's request tracker |
|
68
|
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Task-Test-Run-AllPlugins> |
|
70
|
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=item * MetaCPAN |
|
72
|
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
L<http://metacpan.org/release/Task-Test-Run-AllPlugins> |
|
74
|
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=back |
|
76
|
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=head1 ACKNOWLEDGEMENTS |
|
78
|
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=head1 SEE ALSO |
|
80
|
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
L<Task>, L<Test::Run::Obj>, L<Test::Run::Core>, L<Test::Run::CmdLine>. |
|
82
|
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
The documentation of the appropriate plugins. |
|
84
|
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=head1 COPYRIGHT & LICENSE |
|
86
|
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
Copyright 2006 Shlomi Fish, all rights reserved. |
|
88
|
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
This program is released under the following license: MIT. |
|
90
|
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=cut |
|
92
|
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
1; # End of Task::Test::Run::AllPlugins |