unity-test

Run Unity EditMode and PlayMode tests and parse TestResults XML reports.

5|1|Updated Apr 21, 2026
One-click install
npx skills add https://github.com/batihandev/unity-mcp-skills --skill unity-test-batihandev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-test
Source: https://github.com/batihandev/unity-mcp-skills/tree/main/skills/test
Command: npx skills add https://github.com/batihandev/unity-mcp-skills --skill unity-test-batihandev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps AI agents reliably run Unity tests and interpret test outcomes without relying on unavailable job tracking or incorrect Unity testing assumptions.

Core Features & Use Cases

  • Test Execution: Starts EditMode or PlayMode Unity test runs and supports running specific tests by name.
  • Result Analysis: Reads Unity TestResults XML reports and returns pass, fail, skip, and timing information.
  • Use Case: Use this Skill when validating a Unity project after changes by launching tests, checking generated reports, and identifying failed test cases.

Quick Start

Ask the AI to run the Unity tests and summarize the latest test results.

Frequently Asked Questions about unity-test

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

FAQPage Schema
How do I run Unity tests and analyze Test Runner results programmatically?

To run Unity tests and analyze Test Runner results, you execute EditMode or PlayMode tests and parse the generated TestResults XML reports to extract pass, fail, skip, and timing data for failure analysis.

What's the best way to automate Unity PlayMode and EditMode test discovery?

The best way to automate Unity PlayMode and EditMode test discovery is using a workflow that starts specific test runs by name and retrieves structured outcomes directly from Unity Test Runner reports.

Can I run specific Unity tests by name instead of executing the full suite?

Yes, you can run specific Unity tests by name. The test execution workflow supports targeting individual test cases directly, then reading the TestResults XML to verify their specific pass or fail outcomes.

Do I need Unity MCP test commands to retrieve structured test reports?

Yes, you need Unity MCP test commands. They are required to execute automated test workflows and trigger the TestResults XML parsing needed to evaluate test outcomes reliably.

Why does my AI agent fail to interpret Unity test outcomes correctly?

AI agents fail to interpret Unity test outcomes correctly when relying on unavailable job tracking or incorrect testing assumptions. Using structured TestResults XML parsing ensures accurate pass, fail, and skip data retrieval.

When do I need to parse TestResults XML reports in Unity development workflows?

You need to parse TestResults XML reports in Unity development workflows when validating a project after changes. Parsing provides structured pass, fail, skip, and timing information required for identifying failed test cases.