Skip to main content

A Twisted Trial reporter which emits Subunit v2 streams.

Project description

PyPI Package

What is this?

subunitreporter is a plugin for Twisted Trial which adds two new reporters. The subunitv2 reporter emits subunit v2 result streams with timing information. The subunitv2-b64 reporter emits the same information, base64-encoded.

Usage Sample

Use this with your trial command-lines. For example:

$ trial --reporter=subunitv2 ... | subunit-stats
$ trial --reporter=subunitv2-b64 ... | base64 -d | subunit-stats

Installing

To install the latest version of subunitreporter using pip:

$ pip install subunitreporter

For additional development dependencies, install the dev extra:

$ pip install subunitreporter[dev]

Testing

subunitreporter uses pyunit-style tests. After installing the development dependencies, you can run the test suite with trial:

$ pip install subunitreporter[dev]
$ trial subunitreporter

License

subunitreporter is open source software released under the MIT License. See the LICENSE file for more details.

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

subunitreporter-18.7.4.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

subunitreporter-18.7.4-py2.py3-none-any.whl (4.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file subunitreporter-18.7.4.tar.gz.

File metadata

File hashes

Hashes for subunitreporter-18.7.4.tar.gz
Algorithm Hash digest
SHA256 22a12cfaa8e1d9cc0d08a173efc2b5b8512e98b3d1a3ca70a493ed4e292505b6
MD5 4055b53fe2073ae05cbdb0104f958694
BLAKE2b-256 e7868dd4cb627ab4241d65f2c7bd4e6b44b1b9f56fd41c40dfdc32f846886b58

See more details on using hashes here.

Provenance

File details

Details for the file subunitreporter-18.7.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for subunitreporter-18.7.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f0082c3bb990d46f923591c7147c82b9b56f6f61c1ca467b096b97960ce0f546
MD5 a040f56a4e08b44d7b198dd186e7d916
BLAKE2b-256 7615129e1c162d7706b8cd5a6b9f89c61235cd11f06b1432478253561ac512da

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page