unity-test

Run, list, and monitor Unity tests in EditMode and PlayMode.

Updated Apr 15, 2026
One-click install
npx skills add https://github.com/Yuan-Zzzz/FrogRE --skill unity-test-yuan-zzzz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-test
Source: https://github.com/Yuan-Zzzz/FrogRE/tree/main/.codex/skills/unity-skills/skills/test
Command: npx skills add https://github.com/Yuan-Zzzz/FrogRE --skill unity-test-yuan-zzzz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Unity projects often struggle with scattered test execution and unclear results. This Skill unifies running, listing, and monitoring Unity tests to streamline quality assurance for Unity developers.

Core Features & Use Cases

  • test_list: list available tests with optional filters like testMode and limit.
  • test_run: run tests (returns a jobId for polling) in EditMode or PlayMode.
  • test_get_result: fetch results for a given jobId, enabling progress tracking.
  • test_cancel: cancel a running test job if needed.
  • test_run_by_name: execute tests by class or method name.
  • test_get_last_result: retrieve the most recent run summary.
  • test_list_categories: enumerate test categories for organization.
  • test_create_editmode: generate an EditMode test script template.
  • test_create_playmode: generate a PlayMode test script template.
  • test_get_summary: obtain an aggregated overview of all test runs.

Quick Start

Start by listing tests with test_list, then run targeted tests with test_run or test_run_by_name.

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 automatically in EditMode and PlayMode?

To run Unity tests automatically, you can execute them in either EditMode or PlayMode and receive a jobId for polling. This allows you to track test progress and fetch results once the automated run is complete.

What is the best way to execute specific Unity tests by name?

The best way to execute specific Unity tests by name is using a targeted run command for classes or methods. This triggers the test runner and returns a jobId so you can monitor the execution status of those exact tests.

Can I generate test script templates for Unity PlayMode and EditMode?

Yes, you can generate test script templates for Unity PlayMode and EditMode. This provides scaffolding for your automated tests, allowing you to quickly structure your test cases without manually setting up the boilerplate code.

How do I track Unity test results after starting an automated run?

To track Unity test results after starting a run, use the returned jobId to poll the execution status. You can fetch the current results, retrieve an aggregated summary of all runs, or cancel the job if necessary.

Do I need to filter Unity tests before listing them for automated execution?

You do not strictly need to filter Unity tests before listing them, but applying filters like testMode or limit helps organize the output. Listing available tests with optional filters makes it easier to select specific tests for execution.

Why would I need to cancel a running Unity test job?

You would need to cancel a running Unity test job if an execution is taking too long or was started by mistake. Canceling the job stops the automated test runner immediately, freeing up resources and preventing unwanted test results.