skillfed

trcli

trcli v1.15.2 384.3K downloads/30d#7,066 on PyPI
License unclear Active released

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 trcli

uv

uv add trcli

poetry

poetry add trcli

Installing 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

testRail CLI upload resultstest automation reportingtestRail command lineCI/CD test result integrationautomated test management
test-automationci-cd-integration

More Testing packages