--- id: qase-pytest version: "8.3.1" license: unclear license_treatment: permissive maintenance: active --- # qase-pytest — Qase Pytest Plugin for Qase TestOps and Qase Report License: permissive · Maintenance: active · Downloads: 135.2K/mo ## 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 above — 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 pip install qase-pytest uv add qase-pytest 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_current - Install friction: low - Maintenance: active - Downloads: 135.2K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags pytest test reporting integration, qase testops pytest plugin, automated test case management, test result reporting service, pytest test observability, qase test tracking, pytest metadata reporting, test-reporting, test-management, pytest-plugin [View on SkillFed](https://skillfed.io/packages/qase-pytest) · [View on PyPI](https://pypi.org/project/qase-pytest/)