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. The subunitv2-file reporter emits the same information, written directly to a file instead of the normal trial output stream.

Usage Sample

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

$ trial --reporter=subunitv2 ... | subunit-stats
$ trial --reporter=subunitv2-b64 ... | base64 -d | subunit-stats
$ SUBUNITREPORTER_OUTPUT_PATH=results.subunit2 trial --reporter=subunitv2-file ...


To install the latest version of subunitreporter using pip:

$ pip install subunitreporter

For additional development dependencies, install the dev extra:

$ pip install subunitreporter[dev]


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

$ pip install subunitreporter[dev]
$ trial subunitreporter


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.

Filename, size & hash SHA256 hash help File type Python version Upload date
subunitreporter-18.7.5-py2.py3-none-any.whl (6.1 kB) Copy SHA256 hash SHA256 Wheel py2.py3
subunitreporter-18.7.5.tar.gz (3.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page