unity-test

Run Unity EditMode and PlayMode test suites with asynchronous job identifiers.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Helps developers run, monitor, and manage Unity EditMode and PlayMode tests without manual orchestration, surfacing asynchronous results and summaries for debugging and CI validation.

Core Features & Use Cases

  • List available tests and categories to discover what can be executed.
  • Run tests (by filter or by name), receive a jobId for async polling, cancel jobs, and fetch results or the latest summary for reporting.
  • Create EditMode and PlayMode test script templates to bootstrap new tests and integrate with compilation checks before running.

Quick Start

Run all EditMode tests, return the jobId, and then poll for the final 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 get asynchronous results?

To run Unity tests, you execute a test suite and receive a jobId for asynchronous polling. You then use this jobId to fetch results, monitor status, and retrieve aggregated metrics for your PlayMode or EditMode tests.

What is the difference between EditMode and PlayMode unit tests in Unity?

Unity EditMode tests run in the editor without entering play mode, while PlayMode tests run during simulation. You can list, run, and create templates for both types to validate logic and runtime behavior respectively.

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

Yes, you can run specific Unity unit tests by name. This allows you to selectively execute targeted tests rather than the entire suite, returning a jobId to poll for the specific aggregated results.

How do I create new unit test scripts for Unity?

You create new unit test scripts by generating EditMode or PlayMode templates. This bootstraps new test files so you can integrate them with compilation checks before executing your test runs.

How do I cancel an ongoing Unity test run?

You cancel an ongoing Unity test run by issuing a cancellation request using the active jobId. This stops the asynchronous test execution and halts further result polling for that specific job.

Does this Unity test runner work for CI validation pipelines?

Yes, this Unity test runner works for CI validation. It manages test suites asynchronously, returning jobIds and aggregated summaries that integrate seamlessly with continuous integration debug compilation checks.