add_result
Adds a single test result to a TestRail run by case ID, with status, comment, defects, elapsed time, and version.
Instructions
Post a single test result by case_id (TestRail looks up the test inside the run).
status accepts a string ("passed" | "failed" | "blocked" | "retest" | "untested")
or a raw TestRail status_id (1..5 by default).
elapsed is a TestRail time string ("30s", "1m 30s", "1h 5m").
defects is a comma-separated list of bug-tracker IDs ("BUG-1, BUG-2").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | ||
| status | Yes | ||
| case_id | Yes | ||
| comment | No | ||
| defects | No | ||
| elapsed | No | ||
| version | No |