Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 999a976c22

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
moztest
tests
README.md
setup.py

README.md

Moztest

Package for handling Mozilla test results.

Usage example

This shows how you can create an xUnit representation of python unittest results.

from results import TestResultCollection
from output import XUnitOutput

collection = TestResultCollection.from_unittest_results(results)
out = XUnitOutput()
with open('out.xml', 'w') as f:
    out.serialize(collection, f)
Something went wrong with that request. Please try again.