NAME ^

Test::Builder::Output - manages output for Test::Builder

SYNOPSIS ^

See Test::Builder.

DESCRIPTION ^

This class controls the output filehandles for Test::Builder. You probably do not need to use it directly.

METHODS ^

This class defines the following methods:

new( args_hash )

Initializes a new Test::Builder::Output object (when you create it with new), passing optional arguments in args_hash. They are:

output

An IO PMC for the filehandle to which normal output should go. This uses STDOUT by default.

diag_output

An IO PMC for the filehandle to which diagnostic output should go. This uses STDERR by default.

write( message )

Writes the string message to the output filehandle, TAP-escaping any unescaped newlines.

diag( message )

Writes the string message to the diagnostic filehandle, TAP-escaping any unescaped newlines.

AUTHOR ^

Written and maintained by chromatic, chromatic at wgz dot org, based on the Perl 6 port he wrote, based on the original Perl 5 version he wrote with ideas from Michael G. Schwern. Please send patches, feedback, and suggestions to the Perl 6 internals mailing list.

COPYRIGHT ^

Copyright (C) 2005-2007, The Perl Foundation.


parrot