Skip to main content

QOP Pytest reporter - Real-time test observability with WebSocket streaming

Project description

qa-observability-platform-pytest

QOP Pytest reporter plugin — real-time test observability with WebSocket streaming.

Installation

pip install qa-observability-platform-pytest

For live browser view (Selenium tests):

pip install qa-observability-platform-pytest[live-view]

Usage

Set environment variables and run your tests — the plugin auto-registers via pytest11:

export QOP_API_KEY=your-api-key
export QOP_APP_KEY=your-app-key
pytest

Configuration

Environment Variable Description Default
QOP_API_KEY API key for authentication Required
QOP_APP_KEY Application key Required
QOP_PROJECT_KEY Project identifier default-project
QOP_WS_URL WebSocket server URL ws://localhost:4000/ws/ingest

Live Browser View

For Selenium-based tests, enable live browser streaming:

from qop_pytest import LiveStreamManager

manager = LiveStreamManager(driver, run_id="your-run-id")
manager.start_streaming()
# ... run tests ...
manager.stop_streaming()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

File details

Details for the file qa_observability_platform_pytest-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for qa_observability_platform_pytest-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e42f8a8d0df2329f95c49444b23866f44e59cb464c8172082380d974513dd832
MD5 a612110942287a9dbaa0ded3ac8e2078
BLAKE2b-256 c10f636f67d12d41c965914ab91458fd7c147c81997f17e91840b74af0a45a7a

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