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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qa_observability_platform_pytest-1.0.1-py3-none-any.whl.
File metadata
- Download URL: qa_observability_platform_pytest-1.0.1-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4224b12e1e7d5d1794e47fd0a6d9b3789f6377961a1c332fc9f1679f8ac12d9
|
|
| MD5 |
6c5d2fc693c4e20e5c585ee968031ced
|
|
| BLAKE2b-256 |
2bf5e3a19c9916bf7604d4f9a6b30f39041ec65672d20f26d647d11604b52d65
|