Lubomir Rintel > TAP-Harness-JUnit-0.20 > TAP::Harness::JUnit

Download:
TAP-Harness-JUnit-0.20.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  1
View Bugs
Report a bug
Module Version: 0.20   Source   Latest Release: TAP-Harness-JUnit-0.32

NAME ^

TAP::Harness::JUnit - Generate JUnit compatible output from TAP results

SYNOPSIS ^

    use TAP::Harness::JUnit;
    my $harness = TAP::Harness::JUnit->new({
        xmlfile => 'output.xml',
        ...
    });
    $harness->runtests(@tests);

DESCRIPTION ^

The only difference between this module and TAP::Harness is that this adds mandatory 'xmlfile' argument, that causes the output to be formatted into XML in format similar to one that is produced by JUnit testing framework.

METHODS ^

This modules inherits all functions from TAP::Harness.

new

These options are added (compared to TAP::Harness):

xmlfile

Name of the file XML output will be saved to.

SEE ALSO ^

JUnit XML schema was obtained from http://jra1mw.cvs.cern.ch:8180/cgi-bin/jra1mw.cgi/org.glite.testing.unit/config/JUnitXSchema.xsd?view=markup.

ACKNOWLEDGEMENTS ^

This module was partly inspired by Michael Peters' TAP::Harness::Archive.

AUTHOR ^

Lubomir Rintel (Good Data) <lubo.rintel@gooddata.com>

COPYRIGHT & LICENSE ^

Copyright 2008 Good Data, all rights reserved.

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