Test::Run::Output - Base class for outputting messages to the user in a test harmess.
For Moose.
Emits $msg followed by a newline.
If ml() is defined, print it and $msg. If not - do nothing.
Prints the file leader for $filename and $width.
Calls print_ml() with $msg every second or less.
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.
$test_file
$ml
The $width is the width of the "yada/blah.." string.
$width
Shlomi Fish, http://www.shlomifish.org/
This file is licensed under the MIT X11 License:
http://www.opensource.org/licenses/mit-license.php
Test::Run::Obj, Test::Run::Core, Test::Run::Plugin::CmdLine::Output.
To install Test::Run, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Run
CPAN shell
perl -MCPAN -e shell install Test::Run
For more information on module installation, please visit the detailed CPAN module installation guide.