testrail-api

Manage TestRail API v2 test cases, runs, results, and attachments.

19|6|Updated Jan 24, 2026
One-click install
npx skills add https://github.com/Yuyz0112/public-api-skills --skill testrail-api
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testrail-api
Source: https://github.com/Yuyz0112/public-api-skills/tree/main/apis/testrail/testrail-api
Command: npx skills add https://github.com/Yuyz0112/public-api-skills --skill testrail-api

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a structured interface to interact with the TestRail API, enabling automated test case management and reporting.

Core Features & Use Cases

  • Manage Test Cases: Create, update, and retrieve test cases within TestRail projects.
  • Track Test Runs: Add, close, and delete test runs, and associate results with them.
  • Handle Attachments: Upload and manage attachments for various TestRail entities.
  • Use Case: Automate the process of uploading test results from a CI/CD pipeline to TestRail, linking them to specific test runs and cases.

Quick Start

Use the testrail-api skill to get all projects.

Frequently Asked Questions about testrail-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate TestRail test result uploads from a CI/CD pipeline?

You can automate uploading test results from a CI/CD pipeline to TestRail by using this Skill to interact with TestRail API v2, linking automated outputs directly to specific test runs and cases.

Can I manage TestRail test cases and runs programmatically?

Yes, you can manage TestRail test cases and runs programmatically through this Skill. It provides structured access to create, update, retrieve, add, close, and delete test cases and runs via the TestRail API v2.

What authentication is needed for TestRail API v2 integration?

TestRail API v2 integration requires basic authentication to ensure secure API interactions. This Skill supports basic authentication to manage your test cases, runs, results, and attachments securely.

Does this Skill support uploading attachments to TestRail entities?

Yes, this Skill supports uploading and managing attachments for various TestRail entities. It uses the TestRail API v2 to handle attachments alongside managing test cases, runs, and results.

What is the best way to track automated test runs in TestRail?

The best way to track automated test runs in TestRail is using a programmatic API interface to add test runs, associate automated results, and close them upon completion. This Skill facilitates that tracking via TestRail API v2.