ub-test-reports
A tool for the sphinx-needs family – not a Sphinx extension, and nothing to add to conf.py.
It turns test results into needs without running Sphinx, and holds everything about test reports that does not need a documentation build:
the parsers – JUnit XML (pytest, googletest, ctest, nose and friends) and tox-envreport style JSON;
the result vocabulary – one spelling for every outcome, whichever report it came from;
deterministic case IDs – the same case gets the same need ID in every run;
the [test_reports] model of ubproject.toml, read through ub-project;
the converter – the test-reports build needs command, which writes a needs.json that sphinx-needs can import;
the pytest plugin – -p ub_test_reports.pytest_plugin, which shapes the JUnit XML pytest writes (source locations, per-case properties for traceability).
Install the converter with:
pip install ub-test-reports
and the pytest plugin with:
pip install "ub-test-reports[pytest]"
To show the same reports inside a Sphinx documentation build, install the extension, sphinx-test-reports, which depends on this package.
Documentation: the “Without Sphinx” section of https://sphinx-test-reports.readthedocs.io/en/latest/
Metadata
Release files for ub-test-reports 1.0.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 | |
|---|---|---|---|
| ub_test_reports-1.0.0.tar.gz | 44.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ub_test_reports-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 93.6 kB
Release files / ub_test_reports-1.0.0.tar.gz
| Download URL | ub_test_reports-1.0.0.tar.gz |
|---|---|
| Size | 44.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
05cfa197a34ae697e6f0cc1995d3354f2105bae532a2bdc3f745d44a5032dda0
|
|
BLAKE2b-256 checksum How to use checksums |
a64ed00b0b5e544bdee1d48e32fe7e82d425dec4413d6c4b1f2d3df2f9e556ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / ub_test_reports-1.0.0-py3-none-any.whl
| Download URL | ub_test_reports-1.0.0-py3-none-any.whl |
|---|---|
| Size | 49.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
912be0d377764697663e0dab438dcf16c2748f265488d87557d9999e6905426e
|
|
BLAKE2b-256 checksum How to use checksums |
d0b6577bfaaea084097b39a99db8d87662b8e55ca7978f0f0f88b89a89527683
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|