qase-pytest
Qase Pytest Plugin for Qase TestOps and Qase Report
What it is and what it does
qase-pytest is a pytest plugin that bridges your test suite to Qase TestOps, a test management and observability platform. It automatically captures test results, links them to test cases by ID, and sends rich metadata including attachments, custom fields, and step-level details to Qase for centralized tracking and analytics. The plugin works as a pytest hook, intercepting test outcomes and reporting them via the Qase API.
Configuration is flexible—via config file, environment variables, or CLI flags—and supports parameterized tests, multi-project reporting, and optional integration with pytest-bdd for automatic Gherkin step capture. Tests can be decorated with Qase metadata (title, suite, severity, custom fields) and inline steps, or ignored from reporting entirely. Results are batched and mapped to Qase statuses (passed, failed, invalid, skipped), and the plugin falls back to local JSON reporting if TestOps is unavailable.
Use it for:
- Link pytest tests to Qase test cases by ID to track automated coverage and sync results back to test management
- Auto-create test cases in Qase from pytest code with decorators for title, suite, and custom fields
- Capture screenshots, logs, and attachments with test results for rich failure diagnostics in Qase
- Report parameterized tests with full metadata to Qase, grouping results by test case ID
- Integrate BDD scenarios from pytest-bdd into Qase with automatic Gherkin step hierarchy
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A pytest plugin that reports test results to Qase TestOps, linking automated tests to test cases and capturing metadata, attachments, and step-level details.
Yes. The plugin is production-stable, actively maintained, has no known vulnerabilities, and low install friction. Install it if you use pytest and need to report results to Qase TestOps or want centralized test observability. Requires a Qase account and API token; if you don't use Qase, it adds no value.
Install
qase-pytest on PyPI
pip
pip install qase-pytestuv
uv add qase-pytestpoetry
poetry add qase-pytestInstalling qase-pytest
Before you install
Low friction installation with four runtime dependencies (qase-python-commons, pytest, filelock, more_itertools). Actively maintained with a recent release; last commit 2026-08-14.
License in practice
Licensed under Apache License 2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions.
Quickstart
pip install qase-pytest
# Create qase.config.json in project root:
# { "mode": "testops", "testops": { "project": "YOUR_PROJECT", "api": { "token": "YOUR_TOKEN" } } }
from qase.pytest import qase
@qase.id(1)
def test_example():
assert True
# Run: pytest
Requires Python >= 3.9, pytest >= 7.0.0, and a Qase TestOps account with a valid API token.
Verify before relying
- Whether Qase TestOps account and API token setup is straightforward for new users
- Performance impact when reporting large test suites or batching results
- Compatibility with pytest plugins beyond pytest-bdd
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — qase-python-commons, pytest, filelock, more_itertools |
| Maintenance | actively maintained — 71 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 135,186/month — #11,451 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: qase_pytest-8.3.1-py3-none-any.whl
Keywords: qase, pytest, plugin, testops, report, qase reporting, test observability
Tags
More Testing packages
Pluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
virtualenvvirtualenv creates isolated Python environments…
permissive · top 100 on PyPI
coverageCoverage.py measures which lines of Python code…
permissive · top 1,000 on PyPI
pytest-asynciopytest-asyncio is a pytest plugin that enables…
permissive · top 1,000 on PyPI
pytest-json-ctrfA pytest plugin that generates test reports in…
permissive · top 1,000 on PyPI
qase-python-commonsProvides core configuration and SDK…
permissive · top 15,000 on PyPI
tdd-guard-pytestA pytest plugin that captures test results and…
permissive · top 15,000 on PyPI
pytest-html-reporterGenerates static HTML test reports from pytest…
permissive · top 15,000 on PyPI
pytest-htmlGenerates HTML reports for pytest test results,…
copyleft · top 1,000 on PyPI
qase-api-clientPython client library for the Qase TestOps API…
unclear · top 15,000 on PyPI
qase-api-v2-clientA Python client library for the Qase TestOps…
unclear · top 15,000 on PyPI
allure-pytest-bddIntegrates Allure Report with Pytest-BDD to…
permissive · top 15,000 on PyPI
pytest-excelA pytest plugin that generates Excel reports…
permissive · top 15,000 on PyPI
pyats.reporterCollects test results and generates reports for…
permissive · top 15,000 on PyPI
pytest-pspecFormats pytest test output in RSpec-style…
permissive · top 15,000 on PyPI