Skip to content

GdUnit ​

The GdUnit host is a .NET test executable that runs GDScript suites in a private copy of your game with embedded libgodot. It supports pure GDScript games and scenes containing C# components.

Create the host with the GdUnit configuration guide. CLI scaffolding is planned. Run from its directory:

bash
cd MyGame.gdunit
dotnet test --project MyGame.gdunit.csproj

Use GdUnit's official documentation to write tests. Testing with GdUnit explains the 2dog-specific execution and reporting differences.