Add an in-repo test runner that discovers test/**/test_*.gd and runs under --headless. It uses Godot's Logger API, so engine and script errors during a test fail that test. make test runs the suite, and make test-selfcheck runs deliberately failing fixtures to prove each kind of failure is detected. Closes #4 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
6 lines
109 B
GDScript
6 lines
109 B
GDScript
extends TestCase
|
|
|
|
|
|
func test_failing_assertion() -> void:
|
|
assert_eq(1 + 1, 3, "deliberate fixture failure")
|