Skip to content

Unity test toolkit with built-in GUID, prefab, and scene validation via Editor + NUnit tests.

License

Notifications You must be signed in to change notification settings

SinlessDevil/TestToolKit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧪 TestToolKit for Unity

A lightweight Unity Editor tool for running and managing Edit Mode tests. Built to simplify local test workflows and ensure project integrity through key validation checks.

Test Window


✨ Features

  • 🧩 Simple GUI for launching Edit Mode tests from the Unity Editor
  • ⚙️ Toggle Tests via [Ignore] attribute directly in the code
  • 🧼 Quick Filtering: isolate or enable only relevant checks

✅ Built-in Tests

Category Description
🔁 GUID Validator Detects duplicate GUIDs in .meta files
🧱 Resources Checker Finds prefabs with missing scripts in Resources/ folder
🎭 Scene Validator Checks for broken scenes: missing prefabs, components, etc.

📦 Installation

Simply clone or copy the folder into your Unity project (recommended under Plugins/ or Editor/).
The tool is accessible via Tools > TestToolKit.

Test Name Purpose
GuidDuplicationTest Ensures all .meta files have unique GUIDs. Prevents asset conflicts.
ResourcesPrefabValidationTests Checks all prefabs in Resources/ folder for missing scripts or broken links.
SceneValidationTests Validates all scenes in the project for:
• Missing scripts
• Missing prefab references
• Serialized null fields