mirror of
https://github.com/godotengine/godot.git
synced 2024-12-03 09:52:18 +08:00
0e6aa6fc38
Set all the default values for typed variables before actually trying to initialize them, including `@onready` ones. This ensures that if validated calls are being used there will be a value of the correct type, even if the resolution is done out of order or deferred because of `@onready`. |
||
---|---|---|
.. | ||
scripts | ||
gdscript_test_runner_suite.h | ||
gdscript_test_runner.cpp | ||
gdscript_test_runner.h | ||
README.md | ||
test_gdscript.cpp | ||
test_gdscript.h |
GDScript integration tests
The scripts/
folder contains integration tests in the form of GDScript files
and output files.
See the Integration tests for GDScript documentation for information about creating and running GDScript integration tests.