trcli
What it is and what it does
trcli is a command-line interface for TestRail, the test case management platform. It bridges test automation frameworks and TestRail by accepting test results (typically in JUnit XML format) and uploading them to TestRail test runs via its API. The tool handles authentication, result parsing, and API communication, making it suitable for CI/CD pipelines that need to report automation outcomes without manual intervention.
The package depends on click for CLI structure, pyyaml for configuration, requests for HTTP communication, junitparser for parsing test result files, and several utility libraries for validation and formatting. It is actively maintained with recent releases and has low installation friction as a pure-Python wheel.
Use it for:
- Upload JUnit XML test results from CI/CD pipelines directly into TestRail test runs.
- Automate test result reporting in continuous integration workflows without manual TestRail updates.
- Parse and submit automation results from multiple test frameworks to centralize test reporting.
- Integrate test automation outcomes into TestRail for real-time test status visibility.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A command-line tool for uploading test automation results to TestRail and managing test data through TestRail's API.
Yes, if you use TestRail and need to automate test result uploads from CI/CD pipelines. The package is actively maintained, has low install friction, and solves a common integration problem. Verify Python version support and documentation availability before committing to a production workflow.
Install
trcli on PyPI
pip
pip install trcliuv
uv add trclipoetry
poetry add trcliInstalling trcli
Before you install
Low install friction with a pure-Python wheel distribution. Active maintenance with a recent release 22 days ago. Depends on 14 runtime packages including click for CLI, pyyaml for configuration, requests for API calls, and junitparser for test result parsing.
Quickstart
pip install trcli
trcli --help
Requires TestRail API credentials (typically set via environment variables or configuration file) to authenticate with a TestRail instance.
Verify before relying
- Whether the package requires a TestRail account or API credentials to function
- What Python versions are supported (requires_python is unspecified)
- Whether documentation exists and where to find it (docs URL not provided)
Package facts
| License | not declared (unclear) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 14 — click, pyyaml, junitparser, pyserde, requests, urllib3, charset-normalizer, chardet, tqdm, humanfriendly, openapi-spec-validator, beartype, packaging, prance |
| Maintenance | actively maintained — 22 days since the last release |
| First released | |
| Downloads | 384,266/month — #7,066 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: trcli-1.15.2-py3-none-any.whl
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
testrail-apiA Python wrapper for the TestRail API that lets…
permissive · top 5,000 on PyPI
pytest-testrailA pytest plugin that integrates test execution…
permissive · top 15,000 on PyPI
sentry-cliA command-line tool for interacting with…
permissive · top 15,000 on PyPI
pytest-pytestrailA pytest plugin that decorates test functions…
permissive · top 15,000 on PyPI
codecov-cliA command-line interface for interacting with…
unclear · top 5,000 on PyPI
codecovUploads Python code coverage reports to…
permissive · top 5,000 on PyPI
colcon-test-resultExtends colcon-core to display and analyze test…
permissive · top 15,000 on PyPI
azure-cliAzure CLI is a command-line tool for managing…
permissive · top 5,000 on PyPI
speedtest-cliCommand-line tool that measures internet…
permissive · top 15,000 on PyPI
mergify-cliMergify CLI is a command-line tool for managing…
permissive · top 15,000 on PyPI