1package Test::Builder::Tester::Color;
2
3use strict;
4our $VERSION = "1.18";
5
6require Test::Builder::Tester;
7
8
9=head1 NAME
10
11Test::Builder::Tester::Color - turn on colour in Test::Builder::Tester
12
13=head1 SYNOPSIS
14
15   When running a test script
16
17     perl -MTest::Builder::Tester::Color test.t
18
19=head1 DESCRIPTION
20
21Importing this module causes the subroutine color in Test::Builder::Tester
22to be called with a true value causing colour highlighting to be turned
23on in debug output.
24
25The sole purpose of this module is to enable colour highlighting
26from the command line.
27
28=cut
29
30sub import {
31    Test::Builder::Tester::color(1);
32}
33
34=head1 AUTHOR
35
36Copyright Mark Fowler E<lt>mark@twoshortplanks.comE<gt> 2002.
37
38This program is free software; you can redistribute it
39and/or modify it under the same terms as Perl itself.
40
41=head1 BUGS
42
43This module will have no effect unless Term::ANSIColor is installed.
44
45=head1 SEE ALSO
46
47L<Test::Builder::Tester>, L<Term::ANSIColor>
48
49=cut
50
511;
52