Test Driven Development in Godot with GUT (Tutorial) @DrewConley
Test Driven Development in Godot with GUT (Tutorial)  @DrewConley
Uploaded March 2021 | Updated November 2026, 6 hours ago
In this Godot video tutorial, we learn how to install and use Gut to write tests. Gut is a fantastic library that makes it easy to write and run unit/integration tests for Godot projects. Whether you've done some testing and TDD before, or you're totally new to it, I hope this video helps you get started with the practice in Godot.

⭐️ Get early access to my full JS Game Dev course:
drew-conley-courses.kit.com/66eb6d3ff4

💬 Join our Discord community of people making video games:
discord.gg/umD2GRy

00:00:00 - Intro to GUT
00:01:14 - TDD
00:01:30 - Installing GUT
00:02:30 - TestRunner
00:03:55 - Adding test files
00:05:20 - Writing test methods
00:06:37 - loading Character scene in tests
00:08:12 - assertions
00:09:05 - first failing test
00:09:45 - starting realistic situations
00:10:20 - Red, Green, Refactor
00:11:39 - HP assertions
00:12:42 - before_each, after_each
00:14:00 - fixing orphan errors
00:15:40 - Passing second test
00:16:00 - Refactoring second implementation
00:17:05 - Adding a shield before HP
00:18:42 - Passing the shield test
00:20:00 - GUT is fast

*** Links ***

Gut:
github.com/bitwes/Gut

Demo code:
assets.codepen.io/21542/TDD+with+Gut+demo+code.zip
Test Driven Development in Godot with GUT (Tutorial)PART 2: Godot Engine 3.2 for people who know JavaScript (GDScript logic, Instancing Scenes, Git)Speech text boxes in JavaScript games (web gamedev tutorial)Pizza RPG Part 6 - Camera #pizzalegendsBrowse sprites from any game (Handy tools part 1)Attacks and Turns - Pizza RPG Battles Pt. 2Pizza RPG Part 4 - Grid Based Movement #pizzalegendsPizza RPG Part 3: Overworld Maps #pizzalegendsHow to make a Discord Bot with Discord.js (JavaScript Tutorial)How to animate Sprite Sheets in Godot using AnimationPlayer (beginner tutorial)Smooth Camera in JavaScript gamesGet feedback on your gamedev project | 4 ways
Drew Conley |

Test Driven Development in Godot with GUT (Tutorial)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER