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. The subunitv2-file reporter can also emit progress information to the normal reporting stream (usually stdout) to avoid falling prey to hang-detection based on amount of time with no output.
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 ... $ SUBUNITREPORTER_OUTPUT_PATH=results.subunit2 trial --rterrors --reporter=subunitv2-file ...
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.
Metadata
Release files for subunitreporter 23.8.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| subunitreporter-23.8.0.tar.gz | 7.5 kB | Without provenance | Details for subunitreporter-23.8.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| subunitreporter-23.8.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for subunitreporter-23.8.0-py2.py3-none-any.whl |
Total release size: 15.5 kB
Release files / subunitreporter-23.8.0.tar.gz
| Download URL | subunitreporter-23.8.0.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
af710200f4d6ead8be0420083cfb588e593d72a9734e4d65e1303940a3c7c766
|
|
BLAKE2b-256 checksum How to use checksums |
60eb02043c86652514a158ba767846b4c9f972a3e339dd0911f999941139df6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / subunitreporter-23.8.0-py2.py3-none-any.whl
| Download URL | subunitreporter-23.8.0-py2.py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
d0cdcd8d6d5682864a5165120e91d269a5faf551beba97007371841b2e69b5b3
|
|
BLAKE2b-256 checksum How to use checksums |
7aa2bcd8e2c4eadcda1e7e153778e8e64c8f5c02b59c639b20e8f219c0db9b40
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Security for subunitreporter 23.8.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.