testing-infrastructure

Official

Master Unity ECS testing strategies.

Authordecentraland
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides comprehensive guidance and utilities for writing robust and efficient tests for Unity's Entity Component System (ECS), ensuring the stability and reliability of your game or application logic.

Core Features & Use Cases

  • Test Base Classes: Utilize UnitySystemTestBase<TSystem> for streamlined ECS system testing with automatic world and system lifecycle management.
  • Mocking Utilities: Employ ECSTestUtils for creating mock dependencies like ISceneData with NSubstitute.
  • Test Type Guidance: Understand when to use EditMode vs. PlayMode tests and how to structure your test assemblies and code.
  • Use Case: When developing a new ECS system that interacts with scene data, use this Skill's utilities to set up a test environment, mock the ISceneData interface, and write focused tests for your system's logic in EditMode.

Quick Start

Use the testing-infrastructure skill to set up a test world for an ECS system named MyCustomSystem.

Dependency Matrix

Required Modules

None required

Components

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: testing-infrastructure
Download link: https://github.com/decentraland/unity-explorer/archive/main.zip#testing-infrastructure

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.