IT HAS BEGUN!. The porting of GUT to Godot 4.0 has been started.
- You can find the status of GUT in 4.0 and a list of changes in the GODOT_4_README
- The godot_4 branch is where all the changes will take place.
GUT (Godot Unit Test) is a unit testing framework for the Godot Engine. It allows you to write tests for your gdscript in gdscript.
If you would like to help support GUT check out my game Country or State on Android and iOS. Then, purchase the full version even if you don't like it. Thanks!
- Godot 3.4.x, 3.5.x 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 results in standard JUnit XML format.
- Distribute your 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 addons/gut/LICENSE.md
- TDD and P O N G Series
- Wiki list of tutorials https://github.com/bitwes/Gut/wiki/Tutorials