Package for storing and outputting Mozilla test results
Project description
# 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)
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)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
moztest-0.1.tar.gz
(4.3 kB
view hashes)