Skip to main content

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.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ub-test-reports 1.1.0
File Size Uploaded
ub_test_reports-1.1.0.tar.gz 46.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ub-test-reports 1.1.0
File Interpreter ABI Platform
ub_test_reports-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 98.1 kB

Release files / ub_test_reports-1.1.0.tar.gz

Download URL ub_test_reports-1.1.0.tar.gz
Size 46.0 kB
Tags Source
SHA-256 checksum
How to use checksums
1e028b9089693c7782ef2063f1336e8f8f249632f21345698c01327466914b81
BLAKE2b-256 checksum
How to use checksums
5730c2068a1a079a226282e9842154362d903629228ef77b678517ef068318a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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.1.0-py3-none-any.whl

Download URL ub_test_reports-1.1.0-py3-none-any.whl
Size 52.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
292c39ba01b0ac2947a02faff47b8d6e6a8140df8dc3867158f1257b123a1301
BLAKE2b-256 checksum
How to use checksums
37363c027a699ba6f231a877f68fe6a66fbb8c2eee1c350aff20756fe29cc307
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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 history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page