/python-junit-xml-output

github mirror of https://bitbucket.org/db_atlass/python-junit-xml-output-module

Primary LanguagePythonMIT LicenseMIT

Create junit test xml output from python!

Build Status

Example Usage

import junit_xml_output
test_cases = []
test_cases.append(junit_xml_output.TestCase("first", "eg_contents",
    "failure"))
junit_xml = junit_xml_output.JunitXml("example_usage", test_cases)
print (junit_xml.dump())