This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Test-Simple Version Bump, 1.301001_093 (RC13)
[perl5.git] / cpan / Test-Simple / lib / Test / Builder / Tester / Color.pm
CommitLineData
845d7e37
SP
1package Test::Builder::Tester::Color;
2
3use strict;
4bba85d0 4our $VERSION = '1.301001_093';
518760d9 5$VERSION = eval $VERSION; ## no critic (BuiltinFunctions::ProhibitStringyEval)
845d7e37 6
518760d9 7use Test::Stream 1.301001 '-internal';
845d7e37
SP
8require Test::Builder::Tester;
9
3e887aae 10
845d7e37
SP
11=head1 NAME
12
13Test::Builder::Tester::Color - turn on colour in Test::Builder::Tester
14
15=head1 SYNOPSIS
16
17 When running a test script
18
19 perl -MTest::Builder::Tester::Color test.t
20
21=head1 DESCRIPTION
22
23Importing this module causes the subroutine color in Test::Builder::Tester
24to be called with a true value causing colour highlighting to be turned
25on in debug output.
26
27The sole purpose of this module is to enable colour highlighting
28from the command line.
29
30=cut
31
ccbd73a4 32sub import {
845d7e37
SP
33 Test::Builder::Tester::color(1);
34}
35
36=head1 AUTHOR
37
38Copyright Mark Fowler E<lt>mark@twoshortplanks.comE<gt> 2002.
39
40This program is free software; you can redistribute it
41and/or modify it under the same terms as Perl itself.
42
43=head1 BUGS
44
45This module will have no effect unless Term::ANSIColor is installed.
46
47=head1 SEE ALSO
48
49L<Test::Builder::Tester>, L<Term::ANSIColor>
50
51=cut
52
531;
518760d9
CG
54
55__END__
56
57=encoding utf8
58
59=head1 SOURCE
60
61The source code repository for Test::More can be found at
62F<http://github.com/Test-More/test-more/>.
63
64=head1 MAINTAINER
65
66=over 4
67
68=item Chad Granum E<lt>exodist@cpan.orgE<gt>
69
70=back
71
72=head1 AUTHORS
73
74The following people have all contributed to the Test-More dist (sorted using
75VIM's sort function).
76
77=over 4
78
79=item Chad Granum E<lt>exodist@cpan.orgE<gt>
80
81=item Fergal Daly E<lt>fergal@esatclear.ie>E<gt>
82
83=item Mark Fowler E<lt>mark@twoshortplanks.comE<gt>
84
85=item Michael G Schwern E<lt>schwern@pobox.comE<gt>
86
87=item 唐鳳
88
89=back
90
91=head1 COPYRIGHT
92
93There has been a lot of code migration between modules,
94here are all the original copyrights together:
95
96=over 4
97
98=item Test::Stream
99
100=item Test::Stream::Tester
101
102Copyright 2014 Chad Granum E<lt>exodist7@gmail.comE<gt>.
103
104This program is free software; you can redistribute it and/or
105modify it under the same terms as Perl itself.
106
107See F<http://www.perl.com/perl/misc/Artistic.html>
108
109=item Test::Simple
110
111=item Test::More
112
113=item Test::Builder
114
115Originally authored by Michael G Schwern E<lt>schwern@pobox.comE<gt> with much
116inspiration from Joshua Pritikin's Test module and lots of help from Barrie
117Slaymaker, Tony Bowden, blackstar.co.uk, chromatic, Fergal Daly and the perl-qa
118gang.
119
120Idea by Tony Bowden and Paul Johnson, code by Michael G Schwern
121E<lt>schwern@pobox.comE<gt>, wardrobe by Calvin Klein.
122
123Copyright 2001-2008 by Michael G Schwern E<lt>schwern@pobox.comE<gt>.
124
125This program is free software; you can redistribute it and/or
126modify it under the same terms as Perl itself.
127
128See F<http://www.perl.com/perl/misc/Artistic.html>
129
130=item Test::use::ok
131
132To the extent possible under law, 唐鳳 has waived all copyright and related
133or neighboring rights to L<Test-use-ok>.
134
135This work is published from Taiwan.
136
137L<http://creativecommons.org/publicdomain/zero/1.0>
138
139=item Test::Tester
140
141This module is copyright 2005 Fergal Daly <fergal@esatclear.ie>, some parts
142are based on other people's work.
143
144Under the same license as Perl itself
145
146See http://www.perl.com/perl/misc/Artistic.html
147
148=item Test::Builder::Tester
149
150Copyright Mark Fowler E<lt>mark@twoshortplanks.comE<gt> 2002, 2004.
151
152This program is free software; you can redistribute it
153and/or modify it under the same terms as Perl itself.
154
155=back