We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38b64ee commit 0222ed3Copy full SHA for 0222ed3
project/test/mobile_tests.gd
project/test/mobile_tests.gd.uid
project/views/tools.gd
@@ -4,12 +4,10 @@ const MOBILE_TESTS_FILE := "res://test/mobile_tests.gd"
4
5
6
func _ready() -> void:
7
- %RunTestsButton.visible = FileAccess.file_exists(MOBILE_TESTS_FILE)
+ %RunTestsButton.visible = DirAccess.dir_exists_absolute("res://test/suites/")
8
9
10
func _on_run_tests_button_pressed() -> void:
11
- #var tests = load(MOBILE_TESTS_FILE).new()
12
- #tests.run_tests()
13
var test_runner = load("res://test/util/test_runner.gd").new()
14
test_runner.include_tests("res://test/suites/")
15
add_child(test_runner)
0 commit comments