[Bioperl-guts-l] bioperl-live/t/lib/Test/Builder/Tester Color.pm, NONE, 1.1
Christopher John Fields
cjfields at dev.open-bio.org
Mon Sep 11 12:56:33 EDT 2006
Update of /home/repository/bioperl/bioperl-live/t/lib/Test/Builder/Tester
In directory dev.open-bio.org:/tmp/cvs-serv15383/t/lib/Test/Builder/Tester
Added Files:
Color.pm
Log Message:
Moving Test::Simple to t/lib
--- NEW FILE: Color.pm ---
package Test::Builder::Tester::Color;
use strict;
require Test::Builder::Tester;
=head1 NAME
Test::Builder::Tester::Color - turn on colour in Test::Builder::Tester
=head1 SYNOPSIS
When running a test script
perl -MTest::Builder::Tester::Color test.t
=head1 DESCRIPTION
Importing this module causes the subroutine color in Test::Builder::Tester
to be called with a true value causing colour highlighting to be turned
on in debug output.
The sole purpose of this module is to enable colour highlighting
from the command line.
=cut
sub import
{
Test::Builder::Tester::color(1);
}
=head1 AUTHOR
Copyright Mark Fowler E<lt>mark at twoshortplanks.comE<gt> 2002.
This program is free software; you can redistribute it
and/or modify it under the same terms as Perl itself.
=head1 BUGS
This module will have no effect unless Term::ANSIColor is installed.
=head1 SEE ALSO
L<Test::Builder::Tester>, L<Term::ANSIColor>
=cut
1;
More information about the Bioperl-guts-l
mailing list