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.1.tar.gz (8.2 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.1-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for qa_run_bundler-0.1.1.tar.gz
Algorithm Hash digest
SHA256 cef2cf6e31949a0dd8e2eed84a9404e01587c30ff0e26b684bc8feee13299c8f
MD5 279b566387ac03cdf7837a0b88534c9b
BLAKE2b-256 8de4b75fdc851e7ead4bc1b709d4ffd6bad4725982bc8d74cd521f3718249225

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for qa_run_bundler-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ad2322e2856f48da7852f01b27d0b530c00d9878cdf9179035fc77ba10d9071a
MD5 a0e373303bf85f2e979b9999d7cf932c
BLAKE2b-256 f6ae67803867bf6c5481c5a0113e95ed8a9be63d85123f9926fdc3cb18a03158

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