From 978c8a5c80cadea9af45049f3b66f6910885ddb3 Mon Sep 17 00:00:00 2001 From: Steven Wroblewski Date: Fri, 17 Apr 2026 22:35:08 +0200 Subject: [PATCH] chore(tooling): add GUT test infrastructure and smoke test Co-Authored-By: Claude Sonnet 4.6 --- .gutconfig.json | 8 ++++++++ test/unit/test_smoke.gd | 10 ++++++++++ 2 files changed, 18 insertions(+) create mode 100644 .gutconfig.json create mode 100644 test/unit/test_smoke.gd diff --git a/.gutconfig.json b/.gutconfig.json new file mode 100644 index 0000000..1e2d1c2 --- /dev/null +++ b/.gutconfig.json @@ -0,0 +1,8 @@ +{ + "dirs": ["res://test/"], + "prefix": "test_", + "suffix": ".gd", + "include_subdirs": true, + "log_level": 1, + "export_path": "" +} diff --git a/test/unit/test_smoke.gd b/test/unit/test_smoke.gd new file mode 100644 index 0000000..9608aa0 --- /dev/null +++ b/test/unit/test_smoke.gd @@ -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)