{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/5"},{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance/4"}],"enrichment":{"capability":"A pytest plugin that integrates test execution with TestRail, automatically creating test runs and updating results in TestRail based on pytest markers.","skillfed_tags":["test-management","testrail-integration","ci-cd"],"use_cases":["Automatically create and populate TestRail test runs from pytest test suites marked with @pytestrail.case decorators.","Push test results back to TestRail after pytest execution, keeping test management synchronized with CI/CD pipelines.","Link test failures to defects in Jira or other tracking systems using @pytestrail.defect markers.","Query TestRail data programmatically via the APIClient for custom reporting or test orchestration.","Handle paginated TestRail API responses when working with large test case inventories."],"what_it_does":"pytest-testrail is a pytest plugin that bridges test execution and TestRail test management. It reads pytest markers to identify which tests should be added to a TestRail test run, executes them, and automatically pushes results back to TestRail. The plugin handles test run creation, result updates, and defect tracking integration.\n\nVersion 3.1.1 is a modernized release requiring Python 3.10+, with full type hints, API key authentication (recommended over passwords), connection pooling via requests, automatic retry on rate limiting, and proper exception handling. It depends on pytest and requests, and supports TestRail API pagination for TestRail 6.7+. Configuration is done via INI file or command-line options, and the plugin can be used both as a pytest plugin or as a standalone APIClient for programmatic access.","worth_installing":"Yes, if you use TestRail and pytest together. The plugin has low install friction, permissive licensing, no known vulnerabilities, and is actively maintained (last commit January 2026). The aging maintenance status (201 days since last release) is not a blocker for stable integrations, but verify that your TestRail version and API requirements align before deploying to production."},"id":"pytest-testrail","links":{"html":"https://skillfed.io/packages/pytest-testrail","md":"https://skillfed.io/packages/pytest-testrail.md","pypi":"https://pypi.org/project/pytest-testrail/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2026-01-25","license_spdx":"MIT","license_treatment":"permissive","name":"pytest-testrail","python_support":"supports_current","summary":"A pytest plugin for creating TestRail runs and adding results"},"popularity":{"monthly_downloads":123329,"position":11913,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"3.1.1"}
