NAME

TAP::Spec::TestResult - The results of a single test

VERSION

version 0.03

ATTRIBUTES

status

Required: The status of the test ("ok" or "not ok").

number

Optional: Test number.

description

Optional: Test description.

directive

Optional: A test directive (SKIP or TODO).

reason

Optional: A reason associated with the directive.

METHODS

$result->passed

Whether the test is considered to have passed. A test passes if its status is 'ok' or if it is a TODO test.

$result->as_tap

TAP representation.

AUTHOR

Andrew Rodland <arodland@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Andrew Rodland.

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