CORE/tests/custom_module.gd

18 lines
507 B
GDScript3
Raw Normal View History

extends CoreBaseModule
@onready var suite: BessereTestsTest = get_node_or_null("/root/suite_core")
func _initialize() -> void:
logger.info("tests/custom_module.gd", "Module has been initialized")
suite.callback = "_initialize"
func _cleanup() -> void:
logger.info("tests/custom_module.gd", "Cleaning module")
func _pull_config() -> void:
logger.info("tests/custom_module.gd", "The configuration has been updated")
suite.callback = "_pull_config"
func hello_test() -> String:
return "Hello Test!"