Write gdUnit4 test code with type-specific assertions, signal testing, and scene runner support. Use when creating or updating tests for GDScript files.
/plugin marketplace add minami110/claude-godot-tools/plugin install gdunit4-toolkit@claude-godot-toolsThis skill is limited to using the following tools:
references/assertions.mdreferences/scene-runner.mdreferences/signals.mdreferences/test-structure.mdWrite gdUnit4 test code for GDScript files with proper assertions and test structure.
/websites/godot-gdunit-labs_github_io_gdunit4) if neededres://tests/ directory with test_*.gd naming (e.g., test_player.gd)extends GdUnitTestSuite
func test_example() -> void:
assert_int(1).is_equal(1)
assert_int(value).is_equal(10)assert_float(value).is_equal_approx(3.14, 0.01)assert_str(text).contains("hello")assert_array(items).has_size(5)assert_object(node).is_not_null()await assert_signal(emitter).is_emitted("signal_name")func test_with_node() -> void:
var node: Node = auto_free(Node.new()) # Auto-freed after test
assert_object(node).is_not_null()
For detailed gdUnit4 documentation:
/websites/godot-gdunit-labs_github_io_gdunit4Build robust backtesting systems for trading strategies with proper handling of look-ahead bias, survivorship bias, and transaction costs. Use when developing trading algorithms, validating strategies, or building backtesting infrastructure.