godot-gdscript-headless-testing
by gamedev-skills/awesome-gamedev-agent-skills · Coding & Development
Run GDScript unit tests headlessly from the command line with proper exit codes so CI pipelines can fail builds on test failures.
What it does
Runs Godot 4.7 GDScript tests with godot --headless and a SceneTree runner that exits non-zero on failure, so CI can gate merges. Owns Godot tests in CI. Use for GitHub Actions jobs or a headless run that hangs or exits 0 despite SCRIPT ERROR lines. Not for export in CI (`godot-export`), GDScript language (`godot-gdscript`) or Unity tests (`unity-csharp-scripting`).
Quality judgment
Exceptionally thorough: covers the core exit-code pitfall, import step, await/frame timing, CI wiring, and a rich gotcha list with concrete error messages. Patterns are runnable and directly address the failure modes named in the description; only minor deduction for trigger specificity being slightly narrow.