gdunit4

Community

C# tests for Godot 4 with GdUnit4.

AuthorZearain
Version1.0.0
Installs0

System Documentation

What problem does it solve?

GdUnit4 provides a comprehensive framework to implement and run unit and integration tests for Godot 4.6 C# projects, bridging Godot's editor environment with .NET testing workflows.

Core Features & Use Cases

  • Embedded test framework for Godot 4.x with C#
  • Lifecycle hooks ([Before]/[After]/[BeforeTest]/[AfterTest]) for setup and teardown
  • Fluent assertions via GdUnit4 to cover health checks, type and collection assertions
  • Signal assertions and tests requiring scene graph interactions
  • Scene runner integration testing for end-to-end validation
  • Parameterized tests and orphan node management
  • Moq integration for mocking C# dependencies in tests
  • Clear guidance on test organization, naming conventions, and test isolation

Quick Start

Install GdUnit4 in your Godot 4.6 project and create a basic test class to validate a component.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: gdunit4
Download link: https://github.com/Zearain/ludum-dare-59/archive/main.zip#gdunit4

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 471,000+ vetted skills library on demand.