unity-test

Manage and execute Unity EditMode and PlayMode test suites with asynchronous job-based results.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/mandexonla/Top-Down-Template --skill unity-test-mandexonla
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-test
Source: https://github.com/mandexonla/Top-Down-Template/tree/main/.codex/skills/unity-skills/skills/test
Command: npx skills add https://github.com/mandexonla/Top-Down-Template --skill unity-test-mandexonla

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Developers and QA need a reliable way to list, run, and retrieve results from Unity EditMode and PlayMode tests without manually inspecting logs or rebuilding projects; this Skill centralizes test orchestration and asynchronous result polling so teams can automate verification and debugging workflows.

Core Features & Use Cases

  • List tests: Enumerate available EditMode or PlayMode tests with optional limits and filters to discover test coverage.
  • Run and poll: Start test runs (by filter or specific name), receive a jobId for asynchronous polling, and obtain results or cancel runs as needed.
  • Create templates: Generate EditMode and PlayMode test script templates to jump-start test authoring and CI integration.
  • Use Case: In a CI pipeline, run PlayMode tests after a build, poll until completion, collect pass/fail summary and failed test names, and cancel long-running jobs when necessary.

Quick Start

Run all EditMode tests, return the job ID, and then poll for results until completion.

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 PlayMode tests asynchronously in a CI pipeline?

To run Unity PlayMode tests asynchronously in CI, start a test run by filter or name to receive a jobId, then poll that jobId to retrieve pass/fail results or cancel long-running jobs during automated workflows.

What is the difference between Unity EditMode and PlayMode test execution?

Unity EditMode tests run in the editor without entering play mode, while PlayMode tests execute in the runtime environment. This Skill orchestrates both test suites, enabling asynchronous job polling and result retrieval for either type.

Can I list available Unity tests before running them?

Yes, you can enumerate available EditMode or PlayMode tests with optional limits and filters. This discovers test coverage and identifies specific tests before executing a targeted asynchronous test run.

How do I generate Unity test script templates for CI integration?

You can generate EditMode and PlayMode test script templates to jump-start test authoring. This feature provides ready-made test structures to accelerate the integration of automated verification into your CI workflows.

What's the best way to retrieve historical Unity test outcomes for reporting?

The best way to retrieve historical Unity test outcomes is to poll asynchronous job-based test results. This Skill produces aggregated summaries of pass/fail data and failed test names for reporting and debugging workflows.

Why would I need to cancel a Unity test run?

You need to cancel a Unity test run when a job takes too long in a CI pipeline or exceeds execution time limits. The Skill allows cancelling active runs by jobId to prevent pipeline bottlenecks and free up resources.