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 details)
File details
Details for the file moztest-0.1.tar.gz.
File metadata
- Download URL: moztest-0.1.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34e5c917367444c888cd690d18ab46b025975a85e5a67b5cc24051bb1a9e3e9a
|
|
| MD5 |
232f66792e021200c9a34256a0608c2c
|
|
| BLAKE2b-256 |
afe0f68ad2be1e44a2a31e5127e7642bc6dc59aae2e4b4c239f78beec17d3b23
|