Skip to main content

Bundle automation run artifacts into a ZIP + self-contained HTML viewer

Project description

qa-run-bundler

Create a self-contained QA run bundle (ZIP + index.html viewer) from automation artifacts.

  • Package: qa-run-bundler
  • CLI: qa-bundle
  • Also includes a pytest plugin (--qa-bundle).

Goals

  • No Allure dependency: viewer is standalone and works via file:// by default.
  • Still compatible with Allure: you can attach the bundle ZIP / link to the HTML if you want.
  • No overwrite: each run is written under a timestamped run folder.

Install (dev)

pip install -e .

CLI usage

Build a bundle from an existing run folder:

qa-bundle build --root test_report/<project>/<env>/runs/<run_id>

Output (default):

  • <root>/qa_bundle/index.html
  • <root>/qa_bundle/bundle.zip

Pytest plugin

By default this plugin is ON.

Disable via env (recommended for IDE users):

export QA_BUNDLE=0

Or disable via CLI:

pytest --no-qa-bundle

Explicit enable (optional):

pytest --qa-bundle --project consumer_website --env dev --test-env qa

The plugin will create: test_report/<project>/<env>/<test_env>/runs/<run_id>/qa_bundle/... (non-prod) test_report/<project>/prod/runs/<run_id>/qa_bundle/... (prod)

Notes

This is v0.1.0 scaffolding focused on bundling + viewer. Playwright-specific auto capture hooks (trace/video/HAR) can be layered on top by pointing artifacts into the run folder.

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

qa_run_bundler-0.1.2.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

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

qa_run_bundler-0.1.2-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file qa_run_bundler-0.1.2.tar.gz.

File metadata

  • Download URL: qa_run_bundler-0.1.2.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for qa_run_bundler-0.1.2.tar.gz
Algorithm Hash digest
SHA256 2121ebe643c2064d0efe11b0f1f2d40ff03b07040a4fb1443033d218c55ca6a1
MD5 73c977cfed0bb61e927dd80163486f78
BLAKE2b-256 729c81fa33f2c87d2ff1996010a0c84a112bc62fbe0def954762ff2f2ffbaec1

See more details on using hashes here.

File details

Details for the file qa_run_bundler-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: qa_run_bundler-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for qa_run_bundler-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 eb90ba14d513e6e10e6007b5608855e87bb45618666de0b4082b0134a2cb3463
MD5 1add2d1fb39f276d053b3eaef0332522
BLAKE2b-256 ce48aeba6dd253038469cd8463ed95ef9868d799f8501c36780b693aebdea2c9

See more details on using hashes here.

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