unity-test-unit
CommunityWrite robust Unity Edit/Play tests with AAA.
Authorcuozg
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Helps developers ensure Unity C# code correctness by automating the creation and execution of unit tests across Edit and Play modes.
Core Features & Use Cases
- AAA-pattern driven test bodies with Arrange-Act-Assert structure across Unity components (MonoBehaviour, ScriptableObject, utilities).
- Minimum 10 test cases per class to drive coverage and regression detection.
- Guidance on test placement under Assets/Tests/EditMode/ and Assets/Tests/PlayMode/ with consistent naming.
- Setup/TearDown support to prevent state leakage during tests.
Quick Start
Create and run a suite of Edit/Play mode unit tests for the target class.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: unity-test-unit Download link: https://github.com/cuozg/oh-my-unity/archive/main.zip#unity-test-unit Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.