Mark Wong > Test-Parser-1.9 > Test::Parser::cthon

Download:
Test-Parser-1.9.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Module Version: 1.7   Source  

NAME ^

Test::Parser::cthon - Perl module to parse output from runs of the Connectathon (CTHON) testsuite.

SYNOPSIS ^

 use Test::Parser::cthon;

 my $parser = new Test::Parser::cthon;
 $parser->parse($text);
 printf("Num Executed:  %8d\n", $parser->num_executed());
 printf("Num Passed:    %8d\n", $parser->num_passed());
 printf("Num Failed:    %8d\n", $parser->num_failed());
 printf("Num Skipped:   %8d\n", $parser->num_skipped());

Additional information is available from the subroutines listed below and from the Test::Parser baseclass.

DESCRIPTION ^

This module provides a way to extract information out of CTHON test run output.

FUNCTIONS ^

Also see Test::Parser for functions available from the base class.

new()

Creates a new Test::Parser::cthon instance. Also calls the Test::Parser base class' new() routine. Takes no arguments.

Override of Test::Parser's default parse_line() routine to make it able to parse CTHON output.

AUTHOR ^

Bryce Harrington <bryce@osdl.org>

COPYRIGHT ^

Copyright (C) 2005 Bryce Harrington. All Rights Reserved.

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

SEE ALSO ^

Test::Parser

syntax highlighting: