Install any skill in seconds. Free to start, no credit card required.
Get Started Free →45% 86%+41 ptsof test cases passed
Passed 19 of 22 test cases with the skill, and 10 of 22 without it.
3 of 3 safety checks passed
Not used yet
$ARGUMENTS
Read the path from the project's config file. This avoids hardcoding paths that differ per machine.
# From the project root:
python tools/agent_runtime.py godot_path
The CLI runner across all supported versions (v4.x, v5.x, v6.x) is addons/gdUnit4/bin/GdUnitCmdTool.gd. The path uses capital-U gdUnit4/ to match the upstream repo layout — Windows is case-insensitive but Godot's global script registry de-duplicates by exact path string, so a casing mismatch between the runner invocation and the on-disk directory triggers Class "..." hides a global script class parse errors and a non-zero exit.
# Single file
"<godot_path>" --headless -s res://addons/gdUnit4/bin/GdUnitCmdTool.gd \
--add res://test/test_example.gd --ignoreHeadlessMode
# Multiple files
"<godot_path>" --headless -s res://addons/gdUnit4/bin/GdUnitCmdTool.gd \
--add res://test/test_physics.gd --add res://test/test_spawner.gd \
--ignoreHeadlessMode
# All tests in a directory
"<godot_path>" --headless -s res://addons/gdUnit4/bin/GdUnitCmdTool.gd \
--add res://test/ --ignoreHeadlessMode
Notes:
--ignoreHeadlessMode for headless runs.--add to enqueue test files or directories (repeat the flag for multiples).res:// prefix and the capital-U addons/gdUnit4/ casing.::method syntax for single test methods — run the whole file instead.Next to this one in the catalogue, plus more from the same author.