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

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

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.10   Source  

NAME ^

TAP::Spec::Parser - Reference implementation of the TAP specification

VERSION ^

version 0.10

DESCRIPTION ^

This module is part of the effort to turn the Test Anything Protocol into an IETF-approved internet standard. It's not optimized for production use (although people might find it useful); instead it's meant as a running embodiment of the TAP grammar in the draft standard, allowing the grammar to be comprehensively tested.

METHODS ^

TAP::Spec::Parser->parse_from_string($string)

Attempt to parse a TAP TestSet from $string. Returns a TAP::Spec::TestSet on success, throws an exception on failure.

TAP::Spec::Parser->parse_from_handle($handle)

Like parse_from_string only accepts an opened filehandle.

TAP::Spec::Parser->parse_from_file($filename)

Like parse_from_string only accepts the name of a file to read a TAP stream from.

SEE ALSO ^

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: