++ed by:
NNUTTER SREZIC XLAT YANICK TOBYINK

94 PAUSE users
66 non-PAUSE users.

Chad Granum
and 1 contributors

NAME

Test::Builder::Event - Base class for events

DESCRIPTION

Base class for all event objects that get passed through Test::Builder::Stream.

METHODS

CONSTRUCTORS

$r = $class->new(...)

Create a new instance

SIMPLE READ/WRITE ACCESSORS

$r->trace

Get the test trace info, including where to report errors.

$r->pid

PID in which the event was created.

$r->depth

Builder depth of the event (0 for normal, 1 for subtest, 2 for nested, etc).

$r->in_todo

True if the event was generated inside a todo.

$r->source

Builder that created the event, usually $0, but the name of a subtest when inside a subtest.

$r->constructed

Package, File, and Line in which the event was built.

INFORMATION

$r->type

Type of event. Usually this is the lowercased name from the end of the package. Test::Builder::Event::Ok = 'ok'.

$r->indent

Returns the indentation that should be used to display the event (' ' x depth).

AUTHORS

Chad Granum <exodist@cpan.org>

SOURCE

The source code repository for Test::More can be found at http://github.com/Test-More/test-more/.

COPYRIGHT

Copyright 2014 Chad Granum <exodist7@gmail.com>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://www.perl.com/perl/misc/Artistic.html