$npx skillfedfor your agent

pytest-pytestrail

Pytest plugin for interaction with TestRail

SkipPyPI TestingReleased Aug 2020565.7K downloads / moMIT LicensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pytest_pytestrail-0.10.5-py2.py3-none-any.whl
v0.10.5 · released 2020-08-27 · Python >=3.5 · 2 runtime deps: pytest, testrail-api

No—not for new projects. The package is abandoned (last update 2020-08-27, repository archived), so it will not receive bug fixes or compatibility updates. If you need TestRail integration with pytest, consider actively maintained alternatives or evaluate whether the risk of incompatibility with future pytest and TestRail API versions is acceptable for your use case. Only install if you are maintaining legacy code already using this plugin and cannot migrate.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires TestRail account credentials (TESTRAIL_URL, TESTRAIL_EMAIL, TESTRAIL_PASSWORD) set via environment variables or pytest configuration file.
  • Low install friction with only two runtime dependencies (pytest and testrail-api).
  • However, the package is abandoned—last commit was 2022-01-15 and the repository is archived.

License · maintenance · safety

MIT License (permissive) — MIT License (permissive) means you can use, modify, and distribute the package freely with minimal restrictions, though you should include the license notice.

last release 2020-08-27 (2178 days) · last repo commit 2022-01-15 · 3 stars · archived

0 known vulnerabilities (OSV.dev, 2026-08-14) · 565,669 downloads/mo, #5,973 on PyPI

Verify before relying

pip install pytest-pytestrail

from pytest_pytestrail import pytestrail

@pytestrail.case('C32')
def test_one():
    assert True
  • Whether the package remains compatible with current TestRail API versions and recent pytest releases.
  • Whether testrail-api dependency has active maintenance and security updates.
  • Whether SSL certificate validation bypass (--tr-no-ssl-check) introduces security risks in production environments.
Same gist for agents: .md · .json

What it is and what it does

pytest-pytestrail is a pytest plugin that bridges your test suite to TestRail, a test case management platform. It lets you decorate individual pytest test functions with TestRail case IDs, then automatically report pass/fail results back to TestRail during test execution. You can also organize tests into steps, parametrize them with multiple data sets, and create named test runs with metadata like milestones and descriptions.

The plugin is configured through pytest.ini, setup.cfg, environment variables, or command-line flags. It handles authentication to TestRail, manages test run lifecycle (creation, result reporting, optional closure on completion), and supports timezone handling and custom date formatting. However, the package has been abandoned since early 2022 and receives no updates, so compatibility with newer pytest or TestRail API versions is not guaranteed.

Use it for

  • Automatically sync pytest test results to TestRail after each test run without manual reporting.
  • Link automated tests to TestRail case IDs so test execution history is tracked in your test management system.
  • Organize multi-step tests in pytest and report each step's result separately to TestRail.
  • Parametrize pytest tests and report each parameter variant as a distinct TestRail case result.
  • Create and close TestRail test runs programmatically from CI/CD pipelines during automated testing.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No—not for new projects.

The package is abandoned (last update 2020-08-27, repository archived), so it will not receive bug fixes or compatibility updates. If you need TestRail integration with pytest, consider actively maintained alternatives or evaluate whether the risk of incompatibility with future pytest and TestRail API versions is acceptable for your use case. Only install if you are maintaining legacy code already using this plugin and cannot migrate.

Install

pytest-pytestrail on PyPI

Before you install

Low install friction with only two runtime dependencies (pytest and testrail-api). However, the package is abandoned—last commit was 2022-01-15 and the repository is archived. No updates have been released since 2020-08-27, meaning it will not receive bug fixes or compatibility updates for newer pytest or TestRail API versions.

Requires TestRail account credentials (TESTRAIL_URL, TESTRAIL_EMAIL, TESTRAIL_PASSWORD) set via environment variables or pytest configuration file.

License in practice

MIT License (permissive) means you can use, modify, and distribute the package freely with minimal restrictions, though you should include the license notice.

Quickstart

pip install pytest-pytestrail

from pytest_pytestrail import pytestrail

@pytestrail.case('C32')
def test_one():
    assert True

Verify before relying

  • Whether the package remains compatible with current TestRail API versions and recent pytest releases.
  • Whether testrail-api dependency has active maintenance and security updates.
  • Whether SSL certificate validation bypass (--tr-no-ssl-check) introduces security risks in production environments.

Package facts

LicenseMIT License permissive
Python supportSupports the current Python release >=3.5
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
pytesttestrail-api
MaintenanceAbandoned 2,178 days since the last release
Last repo commit repository archived
First released
Downloads565,669 / month, #5,973 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaEnvironment :: PluginsFramework :: PytestIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: ImplementationProgramming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Quality AssuranceTopic :: Software Development :: Testing

Evidence: pytest_pytestrail-0.10.5-py2.py3-none-any.whl

Tags

Capabilities
pytest testrail integrationreport test results to testrailpytest plugin testrailtestrail test case decoratorautomated test reportingpytest testrail apitest case management integration
Topics
test-reportingtestrail-integrationabandoned
PyPI keywords
testrailpytestpytest-testrailpytest-pytestrailtestrail_apiapi

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “pytest testrail integration”

  • pytest-pytestrailA pytest plugin that decorates test functions to report results to…
  • pytest-testrailA pytest plugin that integrates test execution with TestRail,…
  • trcliA command-line tool for uploading test automation results to TestRail…

Give your agent the search over MCP, or paste the wish link into any chat.

More Testing packages

pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo
virtualenv Worth it
PyPI · Libraries · released Aug 2026

virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.

MITpure Python · 3.9+
532.9Mdownloads / mo
coverage Worth it
PyPI · Testing · released Aug 2026

Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.

Install it if you want to measure test completeness or enforce coverage thresholds in your project.

permissive licensepure Python · 3.10+
335.8Mdownloads / mo
pytest-asyncio Worth it
PyPI · Testing · released May 2026

pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.

Install it if you write tests for any asyncio-based code.

Apache-2.0pure Python · 3.10+
275.9Mdownloads / mo
pytest-json-ctrf Worth it
PyPI · Testing · released Jul 2026

A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.

Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.

MITpure Python · 3.8+
273.0Mdownloads / mo

See also pytest-testrail · tdd-guard-pytest · testrail-api · pytest-logger · trcli · pytest-catchlog · pytest-pspec · pytest-spec · pytest-excel · parametrize