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)