Pewarta Proxy

πŸ“‹ Server Request & Proxy Logs

Loading active proxy settings...
Developed by Khairul Adha (adhexa.id)
Mengambil log server...

βš™οΈ Pengaturan Proxy Target

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 that contain C# components.

Illus. Moritz Voss: a white anthro dog in a hacker hoodie and their robot dog sniffing the ground

To create the host, run this command from your Godot project directory:

bash
dnx 2dog add --gdunit

You can also select GdUnit in the interactive host picker. The generated host includes a sample GDScript test and its MTP runner configuration. See the GdUnit configuration guide for customization. To run the tests, use this command from your Godot project directory:

bash
dotnet test MyGame.gdunit

The root global.json that 2dog creates selects MTP for dotnet test. If your own root global.json does not select MTP, run the command from MyGame.gdunit/.

Use GdUnit's official documentation to write tests. Testing with GdUnit explains how 2dog changes the way GdUnit runs and reports tests.

2dog is Free and Libre Open Source under the MIT License.
2dog is not affiliated with or endorsed by the Godot Foundation.
Godot is licensed under the MIT License; the Godot logo is by Andrea CalabrΓ³ under CC BY 4.0. @icons made by Voxy under the MIT License.
Continuous Integration compute graciously supported by Blacksmith.