skillfed

qase-pytest

Qase Pytest Plugin for Qase TestOps and Qase Report

qase-pytest v8.3.1 135.2K downloads/30d#11,451 on PyPI33
Permissive license Active released

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-pytest

uv

uv add qase-pytest

poetry

poetry add qase-pytest

Installing 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

Development Status :: 5 - Production/StableFramework :: PytestIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Topic :: Software Development :: Quality AssuranceTopic :: Software Development :: Testing

Tags

pytest test reporting integrationqase testops pytest pluginautomated test case managementtest result reporting servicepytest test observabilityqase test trackingpytest metadata reporting
test-reportingtest-managementpytest-plugin

More Testing packages