NAME ^

Test::Builder::Test - base class for all Test::Builder test objects

SYNOPSIS ^

See Test::Builder. You probably don't need to use this directly.

METHODS ^

This class provides the following methods:

create( args_hash )
Creates and returns a new test object, based on the arguments in the args_hash hash. Yes, this is a facade factory. The arguments are:
number
The number of the test. This is important.
passed
An integer representing whether the test passed or failed.
skip
An integer representing whether the test is a skip test.
reason
The string reason why this is a skip or TODO test.
todo
An integer representing whether the test is a TODO test.
description
The string description of this test.
The returned object is a subclass of Test::Builder::Test.
status()
Returns a Hash containing information about this test -- mostly the information you pass to create().
report()
Returns the TAP-compatible string representation of this test.

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-2008, The Perl Foundation.


parrot