Test::Builder::Result::Diag - Diag result type
The diag result type.
See Test::Builder::Result which is the base class for this module.
The message in the note.
Get the test trace info, including where to report errors.
PID in which the result was created.
Builder depth of the result (0 for normal, 1 for subtest, 2 for nested, etc).
True if the result was generated inside a todo.
Builder that created the result, usually $0, but the name of a subtest when inside a subtest.
Package, File, and Line in which the result was built.
If this diag is linked to a specific Test::Builder::Result::Ok object, this will be set to the object. Note this is automatically turned into a weak reference as it is assumed that the Ok will also link to this object. This is to avoid cycled and memory leaks.
Returns the TAP string for the plan (not indented).
Type of result. Usually this is the lowercased name from the end of the package. Test::Builder::Result::Ok = 'ok'.
Returns the indentation that should be used to display the result (' ' x depth).
The source code repository for Test::More can be found at http://github.com/Test-More/test-more/.
Copyright 2014 Chad Granum <firstname.lastname@example.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.