tools-unity-test-framework

Creates NUnit EditMode and PlayMode tests for Unity projects.

6|1|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/tjboudreaux/cc-plugin-unity-gamedev --skill tools-unity-test-framework
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tools-unity-test-framework
Source: https://github.com/tjboudreaux/cc-plugin-unity-gamedev/tree/main/skills/tools-unity-test-framework
Command: npx skills add https://github.com/tjboudreaux/cc-plugin-unity-gamedev --skill tools-unity-test-framework

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Unity Test Framework patterns address the challenge of structuring and executing reliable tests for both Editor-time (EditMode) and runtime (PlayMode) in Unity projects.

Core Features & Use Cases

  • EditMode & PlayMode patterns for NUnit-based testing across MonoBehaviour lifecycles
  • Async testing with UniTask/NUnit integration and UnityTest support
  • Mocking & DI patterns using common frameworks to isolate systems in tests

Quick Start

Create and run NUnit-based tests for both EditMode and PlayMode in Unity.

Frequently Asked Questions about tools-unity-test-framework

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

FAQPage Schema
How do I structure Unity tests for both EditMode and PlayMode?

Unity testing workflows use NUnit-based patterns for EditMode and PlayMode to cover MonoBehaviour lifecycles. This approach supports unit, integration, and lifecycle tests across both Editor and Runtime contexts.

Can I run async tests in Unity using UniTask and NUnit?

Async testing in Unity is supported through UniTask and NUnit integration, allowing you to execute asynchronous operations and UnityTest patterns within your EditMode and PlayMode test suites.

What is the best way to isolate systems in Unity tests using mocking and DI?

Mocking and dependency injection patterns isolate systems in Unity tests by using common frameworks, ensuring components are tested independently without external dependencies interfering with test assemblies.

How do I set up test assemblies and teardown logic in the Unity Test Framework?

Test assemblies, setup, and teardown logic in the Unity Test Framework are configured using DI-friendly setups, ensuring proper test organization and lifecycle management across Editor and Runtime environments.

Does Unity Test Framework support both unit and integration testing for MonoBehaviours?

Yes, the Unity Test Framework supports unit, integration, and lifecycle testing for MonoBehaviours by applying NUnit-based patterns specifically designed for both Editor-time and runtime execution contexts.