Skip to content
gamedev-skills avatar

Godot Gdscript Headless Testing

Headless Godot 4.x GDScript test runner that exits non-zero on failure so CI can gate merges.

CCM score
58 of 100
skills.sh installs
14.1K
GitHub stars
12.3K
last updated
Nov 30, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the headless Godot workflow: import step, SceneTree test runner, failure counting, and CI integration
  • Includes runner patterns for plain tests, frame and timer awaits, and a GitHub Actions step with log capture
  • Enforces a real exit code via quit(1 if failed > 0 else 0), since script errors and failed asserts alone do not fail the process
  • Designed for Godot 4.x projects whose headless test runs hang, exit 0 despite SCRIPT ERROR lines, or need CI gating

Install

$ npx -y skills add gamedev-skills/awesome-gamedev-agent-skills --skill godot-gdscript-headless-testing -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Godot GDScript headless testing (4.x)

Run GDScript tests from a terminal or CI and get a process exit code that means something. Targets the Godot 4.7 CLI; --headless is built into every 4.x editor binary.

The one rule behind most of this skill: Godot's exit code only reflects what your runner passes to quit(). Script errors, push_error() and failed assert() calls do not make it non-zero, so the runner counts failures itself.

Workflow

Details

Repository
github.com/gamedev-skills/awesome-gamedev-agent-skills
Categories
Testing & QA, Game Development, Browser Automation & Scraping
First seen
Nov 30, 2026

More from gamedev-skills/awesome-gamedev-agent-skills

All 74

Similar to Godot Gdscript Headless Testing

More Testing & QA