unity-test

Run, list, and retrieve results for Unity EditMode and PlayMode tests.

1|Updated Feb 22, 2024
One-click install
npx skills add https://github.com/Stardust-liu/EDC_Framework --skill unity-test
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-test
Source: https://github.com/Stardust-liu/EDC_Framework/tree/main/Assets/AI/Unity-Skills-1.5.5/unity-skills/skills/test
Command: npx skills add https://github.com/Stardust-liu/EDC_Framework --skill unity-test

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Unity test operations: run, list, and monitor results for Unity tests.

Core Features & Use Cases

  • List available tests with test_list
  • Run tests with test_run and obtain a job ID for polling
  • Retrieve results with test_get_result or cancel with test_cancel
  • Use in CI/CD pipelines to validate game builds

Quick Start

Invoke test_run with default parameters to start Unity tests and then monitor results using test_get_result.

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 a CI pipeline?

You can automate Unity test execution in CI workflows by invoking the test_run command to start tests and obtain a job ID for polling. This supports both EditMode and PlayMode tests across Unity projects.

How do I retrieve Unity test results after starting a test run?

To retrieve Unity test results, use the test_get_result command with the job ID obtained from the initial test_run command. This allows you to monitor and fetch test outcomes for your Unity project.

Can I list available Unity tests before running them?

Yes, you can list available Unity tests using the test_list command. This allows developers to view test suites and apply optional filters before executing tests in EditMode or PlayMode.

How do I cancel an ongoing Unity test run?

You can cancel an ongoing Unity test run by invoking the test_cancel command. This stops the active test execution process managed by the test_run command.

Does Unity test automation support both EditMode and PlayMode tests?

Yes, Unity test automation supports both EditMode and PlayMode tests. You can apply optional filters and specify modes when running or listing tests to validate game builds effectively.

What is the best way to monitor Unity test execution status?

The best way to monitor Unity test execution is to start tests with test_run to receive a job ID, then use test_get_result to poll and fetch the final test outcomes.