Test::Parser::cthon - Perl module to parse output from runs of the Connectathon (CTHON) testsuite.
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.
This module provides a way to extract information out of CTHON test run output.
Also see Test::Parser for functions available from the base class.
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.
Bryce Harrington <email@example.com>
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.