Test::Unit::Runner::XML is a Perl module that can generate XML reports from unit test results.
SYNOPSIS
use Test::Unit::Runner::XML;
mkdir("test_reports");
my $runner = Test::Unit::Runner::XML->new("test-reports");
$runner->start($test);
exit(!$runner->all_tests_passed());
Test::Unit::Runner::XML generates XML reports from unit test results. The reports are in the same format as those produced by Ant's JUnit task, allowing them to be used with Java continuous integration and reporting tools.
CONSTRUCTOR
Test::Unit::Runner::XML->new($directory)
Construct a new runner that will write XML reports into $directory
METHODS
start
$runner->start($test);
Run the Test::Unit::Test $test and generate XML reports from the results.
all_tests_passed
exit(!$runner->all_tests_passed());
Return true if all tests executed by $runner since it was constructed passed.
Product's homepage
Requirements:
· Perl