GUT (Godot Unit Test) is a utility for writing tests for your Godot Engine game. It allows you to write tests for your gdscript in gdscript.
- Godot 3.2.x compatible, includes all releases from 3.2.0 through 3.2.2. 6.8.3 is 3.1 compatible
- Simple install via the Asset Library.
- A plethora of asserts and utility methods to help make your tests simple and concise.
- Support for Inner Test Classes to give your tests some extra context and maintainability.
- Doubling: Full and Partial, Stubbing, Spies
- Command Line Interface (CLI)
- Parameterized Tests
- Export tests with your project and run them on any platform Godot supports.
More info can be found in the wiki.
Run your tests directly from the VSCode Editor. Search VSCode extensions for "gut-extension". The plugin has commands to run your entire test suite, a single test script or a single test.
Gut is provided under the MIT license. License is in