testraillisted
Install: claude install-skill arriba-tools/speedy-gonzales
# TestRail with testrail-arriba
[testrail-arriba](https://github.com/arriba-tools/testrail) is the CLI this project's TestRail
workflows use. It takes step outcomes in Markdown, uploads the screenshots they name to the run, and
sends the HTML TestRail renders, so step results are never written as HTML by hand.
## Prerequisites
Installed version and login:
!`testrail-arriba --version 2>&1 || echo "testrail-arriba is not installed"`
!`testrail-arriba auth status 2>&1 || true`
If it is not installed, tell the user to download it from the
[releases](https://github.com/arriba-tools/testrail/releases) and put it on the `PATH`, or run
`cargo install --git https://github.com/arriba-tools/testrail`, and stop.
If there is no login, tell the user to run `testrail-arriba auth login`, which stores the API key in
the keyring, and stop. `TESTRAIL_URL`, `TESTRAIL_EMAIL`, and `TESTRAIL_API_KEY` in the environment
work without a stored login, and `TESTRAIL_PASSWORD` is accepted in place of the key.
The QA credentials are in 1Password, item **"TestRail"** in the **SSN - QA** vault. Pipe the key
to `auth login --site <site> --email <email> --token` to store it without a prompt.
## Conventions
- Every ID takes TestRail's prefixed form, such as `C39`, `R201`, or `T1001`, or the page's URL.
- `--project` (`-p`) takes the project's ID or name, as in `-p Solsta` or `-p 2`.
- Add `--json` to any command whose output you need to parse.
- Lists stop at 50 unless `--limit` or `--all` says other