line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Task::Test::Run::AllPlugins; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
48474
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
27
|
|
4
|
1
|
|
|
1
|
|
5
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
44
|
|
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.0105'; |
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 BUGS |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
Please report any bugs or feature requests to |
56
|
|
|
|
|
|
|
C<bug-task-latemp at rt.cpan.org>, or through the web interface at |
57
|
|
|
|
|
|
|
L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Task-Latemp>. |
58
|
|
|
|
|
|
|
I will be notified, and then you'll automatically be notified of progress on |
59
|
|
|
|
|
|
|
your bug as I make changes. |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head1 SUPPORT |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
You can find documentation for this module with the perldoc command. |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
perldoc Task::Latemp |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
You can also look for information at: |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=over 4 |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=item * The Test-Run Homepage |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
( L<http://web-cpan.shlomifish.org/modules/Test-Run/> ) |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=item * AnnoCPAN: Annotated CPAN documentation |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
L<http://annocpan.org/dist/Task-Latemp> |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=item * CPAN Ratings |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
L<http://cpanratings.perl.org/d/Task-Latemp> |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=item * RT: CPAN's request tracker |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Task-Latemp> |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=item * MetaCPAN |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
L<http://metacpan.org/release/Task-Test-Run-AllPlugins> |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
=item * Search CPAN |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
L<http://search.cpan.org/dist/Task-Test-Run-AllPlugins> |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
=back |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
=head1 ACKNOWLEDGEMENTS |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
=head1 SEE ALSO |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
L<Task>, L<Test::Run::Obj>, L<Test::Run::Core>, L<Test::Run::CmdLine>. |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
The documentation of the appropriate plugins. |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
=head1 COPYRIGHT & LICENSE |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
Copyright 2006 Shlomi Fish, all rights reserved. |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
This program is released under the following license: bsd |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
=cut |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
1; # End of Task::Test::Run::AllPlugins |