gecko-dev/testing/mozbase/moztest
Jeff Hammel 2fb3ca19f0 Bug 790018 - bump version of manifestdestiny and mirror to m-c;r=mcote 2012-09-11 19:46:39 -07:00
..
moztest Bug 790018 - bump version of manifestdestiny and mirror to m-c;r=mcote 2012-09-11 19:46:39 -07:00
tests Bug 788842 - Mirror mozbase to m-c, r=jhammel 2012-09-07 17:58:39 -07:00
README.md Bug 788842 - Mirror mozbase to m-c, r=jhammel 2012-09-07 17:58:39 -07:00
setup.py Bug 788842 - Mirror mozbase to m-c, r=jhammel 2012-09-07 17:58:39 -07:00

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)