Releases: gurock/trcli
Releases · gurock/trcli
Release list
TR CLI 1.15.1
Added
- New
runscommand: Query and retrieve test run information from TestRail withgetandlistsubcommands. Provides execution metrics, status tracking, and configuration details. Note: Only returns standalone runs (not runs within test plans). - New
milestonescommand: Query and retrieve milestone information from TestRail withgetandlistsubcommands. Track project milestones, monitor completion status, due dates, and references. - New
configurationscommand: Query and retrieve configuration information from TestRail usinglistsubcommand. Lists down configurations set in an entire project regardless of project type (single or multi-suite). - New
statusescommand: Query and retrieve status information from TestRail withall: List all test result statuses (Passed, Failed, Blocked, etc.) with system/custom flags, colors, and behavior properties andcase: List all case statuses (Approved, Draft, etc.) for case workflow management (requires TestRail Enterprise 7.3+) - New
casefieldscommand: Query and retrieve all test case custom fields from TestRail. Lists available fields with their types, configurations, and project applicability. Supports auto-filtering to show only fields applicable to a specific project when--projectis specified, and--show-all-fieldsfor detailed configuration information including field options and requirements. - New
resultfieldscommand: Query and retrieve all test result custom fields from TestRail. Lists available fields with their types, configurations, project applicability, and template associations. Particularly useful for understanding which templates use specific result fields. Supports auto-filtering by project and--show-all-fieldsfor detailed configuration.
TR CLI 1.15.0
Added
- New data query commands: These commands provide read-only access to TestRail data, enabling AI agents and automation tools to query test management information for intelligent workflows; Added
cases,suites,sections, andplanscommands withgetandlistsubcommands for querying TestRail data. All commands support pagination (--offset,--limit), JSON output (--json-output), detailed view (--show-all-fields), and flexible project specification.
Huge shoutout to @cosmicdreams for initiating this request via #401 #402
TR CLI 1.14.3
Added
- New
resultscommand: Added results command which allows users to list or update existing test results in TestRail, also supports pagination and JSON output. -Requires TestRail 10.4 or later - Optimized attachment uploading with updated progress tracking.
Fixed
- Fixed an issue where attachments are not consistently uploading especially for large datasets with unable to find result_id error.
TR CLI 1.14.2
Added
- AI Evaluation Template Support: Uploading test result support for TestRail's AI Test Case Template with multi-dimensional quality ratings. See README "AI Evaluation Template Support" section for complete examples. - Requires TestRail 10.3.0 or higher
- Multi-Step AI Evaluation Workflows: Support for combining step-level execution tracking with quality ratings in AI Test Case Template. See README "Multi-Step AI Evaluation Workflows" section.
- Global Quality Rating via
--result-fields: Added support for applying quality ratings to all test results using --result-fields. - Code-First Approach support for AI Test Case Template: When using
-y(auto-creation mode), TRCLI now automatically detects and creates test cases with the AI Test Case template. See README "Automatic Case Creation for AI Evaluation Template" section. - Support for using custom case result statuses in Robot and JUnit reports - #417 fix by @codambro
TR CLI 1.14.1
Added
- Keep Markdown Syntax when sending markdown data to Testrail with new WYSIWYG editor - Requires TestRail 10.3.0 or higher
Fixed
- Fixed an issue where attachments are all uploaded to the last result when multiple results are added to case while parsing several reports via glob support
TR CLI 1.14.0
Added
- Enhanced
parse_junitcommand: Added--special-parser multisuitewhich allows users to create and/or update a single test plan with one run per suite from a single JUnit XML report. Resolves: #348 - Enhanced
add_runcommand: Added new options to clear run's attributes (description, run and start date, milestone and case selection) when updating runs.
Fixed
- Fixed attachment upload failure when adding results to empty test runs. Attachments now upload correctly by using direct case_id to result_id mapping instead of fetching tests from the run. Resolves: #404
- Fixed an issue where case selection cannot be properly updated if the run is added using add_run command.
TR CLI 1.13.4
Added
- Extended glob support for robot parser for efficient multiple test result file processing
- Added
--run-assigned-to-idand--clear-run-assigned-to-idoptions to add_run command for clearing and setting test run assignees during run creation and updates - Requires TestRail 10.2.0 or higher
Fixed
- Cannot add empty runs via add_run command due to empty test case validation.
TR CLI 1.13.3
Added
- Added version notification system and a new
updatecommand to simplify upgrading to the latest version. - Added comprehensive blob support to handle multiple test result files, improving automation workflows.
Improved
- Improved attachment handling and validation for custom fields.
TR CLI 1.13.2
Fixed
- Fixed an issue where automation_id matching fails due to wrapped values in HTML paragraph tags, causing case mismatch and duplicate test cases