chore(tooling): add GUT test infrastructure and smoke test

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Steven Wroblewski
2026-04-17 22:35:08 +02:00
parent c8fb2d959f
commit 978c8a5c80
2 changed files with 18 additions and 0 deletions

8
.gutconfig.json Normal file
View File

@@ -0,0 +1,8 @@
{
"dirs": ["res://test/"],
"prefix": "test_",
"suffix": ".gd",
"include_subdirs": true,
"log_level": 1,
"export_path": ""
}

10
test/unit/test_smoke.gd Normal file
View File

@@ -0,0 +1,10 @@
## Smoke test — verifies GUT is installed and the test runner works.
extends GutTest
func test_gut_is_working() -> void:
assert_true(true)
func test_basic_arithmetic() -> void:
assert_eq(1 + 1, 2)