line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Task::Test::Run::AllPlugins; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
22799
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
25
|
|
4
|
1
|
|
|
1
|
|
7
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
74
|
|
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.0102'; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=head1 DESCRIPTION |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
Test::Run ( L<http://web-cpan.berlios.de/modules/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, C<< <shlomif at iglu.org.il> >> |
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 * AnnoCPAN: Annotated CPAN documentation |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
L<http://annocpan.org/dist/Task-Latemp> |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=item * CPAN Ratings |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
L<http://cpanratings.perl.org/d/Task-Latemp> |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=item * RT: CPAN's request tracker |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Task-Latemp> |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=item * MetaCPAN |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
L<http://metacpan.org/release/Task-Test-Run-AllPlugins> |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
=item * Search CPAN |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
L<http://search.cpan.org/dist/Task-Test-Run-AllPlugins> |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
=back |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
=head1 ACKNOWLEDGEMENTS |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
=head1 SEE ALSO |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
L<Task>, L<Test::Run::Obj>, L<Test::Run::Core>, L<Test::Run::CmdLine>. |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
The documentation of the appropriate plugins. |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
=head1 COPYRIGHT & LICENSE |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
Copyright 2006 Shlomi Fish, all rights reserved. |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
This program is released under the following license: bsd |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
=cut |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
1; # End of Task::Test::Run::AllPlugins |