Gut
Godot Unit Test. Unit testing tool for Godot Game Engine.
Install / Use
/learn @bitwes/GutREADME

GUT
GUT (Godot Unit Test) is a unit testing framework for the Godot Engine. It allows you to write tests for your gdscript in gdscript.
GUT versions 9.x are for Godot 4.x.<br> GUT versions 7.x (currently 7.4.2) are for Godot 3.x.
Support
If you'd like to support GUT development you can buy me a coffee.
Wiki
Documentation is hosted at https://gut.readthedocs.io/, you can find release-specific links below.
Version Links
There are only two versions of GUT in the Asset Library (one for Godot 3 and one for Godot 4). GUT will not appear in the Asset Library if your current version of Godot is less than the required version of GUT in the Asset Library.
You can download/clone earlier versions of GUT using the links below.
|GUT Version|Valid Godot Version||||| |-|-|-|-|-|-| |Main Branch |4.6.x| |download | | wiki| |9.6.0|4.6.x|repo|download|Asset Library|wiki| |9.5.0|4.5.x|repo|download||wiki| |9.4.0|4.3.x - 4.4.x|repo|download||wiki| |9.3.0|4.2.x|repo|download||wiki| |9.1.1|4.1.x|repo|download||| |9.0.1|4.0.x|repo|download||| |7.4.3|3.5.x|repo|download|Asset Library|wiki|
To install from the zip link:
- Download the zip and extract it
- Put the
addons/gutdirectory into your project. - Enable the GUT plugin.
You will need to relaunch Godot.
Features
- 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

Getting Started
VSCode Extension
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.
Thanks for using GUT. If you'd like to support me you can buy me a coffee.
License
Gut is provided under the MIT license. License is in addons/gut/LICENSE.md.
Related Skills
node-connect
339.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
339.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.9kCommit, push, and open a PR
