tarn-api-testing

Write YAML-based API tests and obtain structured JSON results.

5|Updated Mar 28, 2026
One-click install
npx skills add https://github.com/NazarKalytiuk/hive --skill tarn-api-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tarn-api-testing
Source: https://github.com/NazarKalytiuk/hive/tree/main/plugin/skills/tarn-api-testing
Command: npx skills add https://github.com/NazarKalytiuk/hive --skill tarn-api-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Tarn API testing enables teams to define API tests in YAML and obtain structured, machine-readable results, reducing debugging time and enabling automation.

Core Features & Use Cases

  • Write .tarn.yaml tests to cover REST, GraphQL, and WebSocket interactions.
  • Validate syntax and run tests with structured JSON output for AI agents and CI systems.
  • Integrate with MCP to streamline agent workflows and toolchains.

Quick Start

Create a minimal .tarn.yaml test, validate its syntax, and run it to obtain a structured JSON report.

Frequently Asked Questions about tarn-api-testing

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

FAQPage Schema
How do I write API tests in YAML for REST and GraphQL endpoints?

You can write API tests in YAML by creating .tarn.yaml files that define interactions for REST, GraphQL, and WebSocket endpoints. This approach enables structured test definitions that are easy to validate and automate in CI systems.

How do I get machine-readable JSON results from API tests for CI automation?

To get machine-readable JSON results from API tests, you can run the tarn run command with the --format json flag. This outputs structured JSON reports designed for AI agents and CI systems to parse test outcomes efficiently.

Can I generate API tests automatically from an OpenAPI specification?

Yes, you can generate API tests from OpenAPI specs. The functionality supports creating .tarn.yaml test definitions directly from your OpenAPI specifications, reducing manual test writing and ensuring coverage against your API schema.

Does Tarn MCP integration streamline API testing workflows for AI agents?

Yes, Tarn MCP integration streamlines API testing workflows by connecting the testing toolchain with agent workflows. This allows AI agents to directly interact with test execution and validation processes through the Model Context Protocol.

How do I validate the syntax of my YAML API tests before running them?

You can validate the syntax of YAML API tests by using the tarn validate command. This checks your .tarn.yaml files for errors before execution, ensuring your test definitions are correctly formatted and preventing runtime failures.

What is the best way to debug failing API tests defined in YAML?

The best way to debug failing YAML API tests is to run tarn validate to check syntax, then execute tarn run with structured JSON output. The machine-readable JSON report highlights specific failures, reducing debugging time.