strip old $Id tags
[bioperl-live.git] / t / lib / Test / Builder / Tester / Color.pm
blobb479e71a9460ddb6979ed6575b71177c9d2096ef
1 package Test::Builder::Tester::Color;
3 use strict;
5 require Test::Builder::Tester;
7 =head1 NAME
9 Test::Builder::Tester::Color - turn on colour in Test::Builder::Tester
11 =head1 SYNOPSIS
13 When running a test script
15 perl -MTest::Builder::Tester::Color test.t
17 =head1 DESCRIPTION
19 Importing this module causes the subroutine color in Test::Builder::Tester
20 to be called with a true value causing colour highlighting to be turned
21 on in debug output.
23 The sole purpose of this module is to enable colour highlighting
24 from the command line.
26 =cut
28 sub import
30 Test::Builder::Tester::color(1);
33 =head1 AUTHOR
35 Copyright Mark Fowler E<lt>mark@twoshortplanks.comE<gt> 2002.
37 This program is free software; you can redistribute it
38 and/or modify it under the same terms as Perl itself.
40 =head1 BUGS
42 This module will have no effect unless Term::ANSIColor is installed.
44 =head1 SEE ALSO
46 L<Test::Builder::Tester>, L<Term::ANSIColor>
48 =cut