Andrew Rodland > TAP-Spec-Parser-0.10 > TAP::Spec::TestResult

Download:
TAP-Spec-Parser-0.10.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.10   Source  

NAME ^

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

VERSION ^

version 0.10

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) 2012 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.

syntax highlighting: