Skip to main content

Pytest plugin: interactive HTML + JSON test report for Choreo (PRD-007)

Project description

choreo-reporter — pytest plugin for Choreo

Interactive HTML + JSON test reports for the choreo message-driven test harness (PRD-007).

Installing this package registers a pytest plugin that, at suite exit, emits a test-report/ directory containing:

  • An HTML report with a Jaeger-style waterfall of every scenario's messages, expectations, replies, and latency budgets.
  • A JSON report conforming to the test-report-v1 schema for CI ingestion.
  • Payload redaction for common credential shapes (bearer tokens, URL creds, denylisted field names such as password / token / api_key).
  • pytest-xdist merge support for parallel runs.

Install

pip install choreo-reporter

Once installed, the plugin loads automatically on the next pytest run.

Configuration

# pytest.ini / pyproject.toml
[pytest]
addopts = --harness-report=test-report

Disable with --harness-report-disable. Register a custom redactor for domain-specific payload shapes via choreo_reporter.register_redactor(...).

Documentation

See the project README at https://github.com/clear-route/choreo for the full architecture, the Scenario DSL, and the report schema.

Licence

Apache-2.0. See LICENSE.

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

choreo_reporter-0.1.0.tar.gz (66.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

choreo_reporter-0.1.0-py3-none-any.whl (54.3 kB view details)

Uploaded Python 3

File details

Details for the file choreo_reporter-0.1.0.tar.gz.

File metadata

  • Download URL: choreo_reporter-0.1.0.tar.gz
  • Upload date:
  • Size: 66.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for choreo_reporter-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0d1809fe182af05258190eb1efdd81f8042d10da9390246c5cbb07ce2c755bb0
MD5 f185488cc743d929318bded5f30ed7a7
BLAKE2b-256 3a69a737d8e9bc4c4b9d56aac319f4724e521217b964f12074feb2bfa644ddcd

See more details on using hashes here.

Provenance

The following attestation bundles were made for choreo_reporter-0.1.0.tar.gz:

Publisher: release.yml on clear-route/choreo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file choreo_reporter-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for choreo_reporter-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9e231681bcfaad12b7a00e0f393a567e0687445ece097736bac381f1f4036ef6
MD5 59258f2b76ea49e0692a344973168109
BLAKE2b-256 5351d67768149b644d8a9eebba1fa996b6a4cebecc51f77fb73fb72f7c123df6

See more details on using hashes here.

Provenance

The following attestation bundles were made for choreo_reporter-0.1.0-py3-none-any.whl:

Publisher: release.yml on clear-route/choreo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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