-
Notifications
You must be signed in to change notification settings - Fork 100
Home
Butch Wesley edited this page Jun 7, 2020
·
38 revisions
GUT (Godot Unit Test) is a utility for writing tests for your Godot Engine game. It allows you to write tests for your gdscripts in gdscript.
- As of version 6.8.1 Gut is compatible with version 3.2.x as well as 3.1.x.
- Install
- Quick Start
- Asserts and Methods
- Creating Tests
- Gut Settings and Methods
- Using Gut at the command line
- Inner Test Classes
- Doubling
- Spies
- Stubbing
- Parameterized Tests
- Simulate
- Yielding during tests
- Pre/Post Run Hooks
There are a fair number of warnings that Godot will show related to GUT. Some of the warnings are valid and are being cleaned up overtime. Most of the warnings are not valid and sometimes relate to generated code. As of 3.2 you can disable warnings for addons, and it recommended you do so.
Gut is provided under the MIT license. The license is distributed with Gut so it is in the addons/gut
folder.
You can talk to me, Butch Wesley
- Github: bitwes
- Godot forums: bitwes
- Godot Discord: bitwes