NAME
Test::Run::Output - Base class for outputting messages to the user in a test harmess.
METHODS
$self->print_message($msg)
Emits $msg followed by a newline.
$self->print_ml($msg)
If ml() is defined, print it and $msg. If not - do nothing.
$self->print_leader({filename => $filename, width => $width})
Prints the file leader for $filename and $width.
$self->print_ml_less($msg)
Calls print_ml() with $msg every second or less.
_mk_leader
my($leader, $ml) = $self->_mk_leader($test_file, $width);
Generates the 't/foo........' leader for the given $test_file
as well as a similar version which will overwrite the current line (by use of \r and such). $ml
may be empty if Test::Run doesn't think you're on TTY.
The $width
is the width of the "yada/blah.." string.
AUTHOR
Shlomi Fish, http://www.shlomifish.org/
LICENSE
This file is licensed under the MIT X11 License:
http://www.opensource.org/licenses/mit-license.php
SEE ALSO
Test::Run::Obj, Test::Run::Core, Test::Run::Plugin::CmdLine::Output.