What is gdUnit4Net
mastergdUnit4Net is a feature-complete unit testing framework for Godot C# projects. It is designed to be fully compatible with the VSTest standard, allowing you to run and debug tests within Visual Studio (Code), JetBrains Rider, and other VSTest-compatible environments.
Key architectural features include:
- Smart Runtime Detection: Tests run in a lightweight mode by default without the Godot runtime, significantly increasing performance for logic-only tests.
- Selective Godot Integration: You can opt-in to the Godot runtime for specific tests using the
[RequireGodotRuntime]attribute. - VSTest Compatibility: Supports standard VSTest features like test filtering, categories, and traits.