unity-test-runner

Run Unity Test Framework tests and generate failure reports.

95|11|Updated Oct 13, 2025
One-click install
npx skills add https://github.com/Dev-GOM/claude-code-marketplace --skill unity-test-runner
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-test-runner
Source: https://github.com/Dev-GOM/claude-code-marketplace/tree/main/plugins/unity-dev-toolkit/skills/unity-test-runner
Command: npx skills add https://github.com/Dev-GOM/claude-code-marketplace --skill unity-test-runner

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Manually running and analyzing Unity Test Framework tests can be tedious and slow, especially in CI/CD pipelines. This Skill automates the entire testing workflow, from detecting the Unity Editor to parsing results and generating detailed failure reports, saving developers significant time and effort.

Core Features & Use Cases

  • Cross-Platform Editor Detection: Automatically locates the Unity Editor installation across Windows, macOS, and Linux.
  • Automated Test Execution: Runs EditMode and PlayMode tests via Unity's command line interface with configurable parameters.
  • Intelligent Result Parsing: Parses NUnit XML test results, extracts summary statistics, and identifies failed tests with file/line information.
  • Failure Analysis & Suggestions: Analyzes common failure patterns (e.g., assertion failures, null references, timeouts) and provides actionable fix suggestions.
  • Use Case: A developer wants to run all PlayMode tests for their Unity game before committing changes. They can ask Claude to "Run all PlayMode tests and show me the results." This Skill will find the Unity Editor, execute the tests, and then provide a concise report highlighting any failures with suggested solutions, allowing for quick debugging.

Quick Start

Ask Claude to run your Unity tests

"Run all Unity tests in my project." "Execute PlayMode tests and show me the results." "Run tests in the Combat category and report failures."

Frequently Asked Questions about unity-test-runner

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

FAQPage Schema
How do I automate Unity Test Framework tests in my CI/CD pipeline?

Automate Unity Test Framework tests by running them from the command line across Windows, macOS, and Linux. This Skill detects your Unity Editor installation, executes EditMode and PlayMode tests with configurable parameters, parses NUnit XML results, and generates detailed failure reports—eliminating manual test execution in pipelines.

Can I run specific test categories or filters with Unity command-line testing?

Yes, this Skill supports category filters and custom test filters when executing tests via CLI. You can run all PlayMode tests, specific EditMode tests, or filter by category name, giving you granular control over which tests execute in your automated workflow.

What does the Skill do with failed Unity tests?

After parsing NUnit XML results, this Skill analyzes failure patterns such as assertion failures, null references, and timeouts. It extracts file and line information for each failed test and provides actionable fix suggestions to accelerate debugging.

Does cross-platform Unity test automation work on macOS and Linux?

Yes, this Skill automatically detects Unity Editor installations across Windows, macOS, and Linux, then executes tests uniformly. It supports CI/CD pipelines that need consistent test execution regardless of the runner's operating system.

How do I parse and report Unity test results programmatically?

This Skill parses NUnit XML test results generated by Unity's CLI, extracts summary statistics and test outcomes, and generates detailed reports. You can customize the output path and receive concise summaries highlighting failures with suggested solutions.

What's the difference between EditMode and PlayMode tests in automation?

EditMode tests run without a game runtime; PlayMode tests run with the full Unity runtime. This Skill lets you configure and execute either test mode via command line, allowing you to validate both editor scripts and runtime behavior in automated workflows.