summaryrefslogtreecommitdiff
path: root/addons/gdUnit4/src/core/command/GdUnitCommandFileSystemRunTests.gd
diff options
context:
space:
mode:
Diffstat (limited to 'addons/gdUnit4/src/core/command/GdUnitCommandFileSystemRunTests.gd')
-rw-r--r--addons/gdUnit4/src/core/command/GdUnitCommandFileSystemRunTests.gd15
1 files changed, 15 insertions, 0 deletions
diff --git a/addons/gdUnit4/src/core/command/GdUnitCommandFileSystemRunTests.gd b/addons/gdUnit4/src/core/command/GdUnitCommandFileSystemRunTests.gd
new file mode 100644
index 0000000..d17413f
--- /dev/null
+++ b/addons/gdUnit4/src/core/command/GdUnitCommandFileSystemRunTests.gd
@@ -0,0 +1,15 @@
+class_name GdUnitCommandFileSystemRunTests
+extends GdUnitCommandFileSystem
+
+
+const ID := "Run FileSystem Tests"
+
+
+func _init(test_session_command: GdUnitCommandTestSession) -> void:
+ super(ID, GdUnitShortcut.ShortCut.RUN_TESTSUITE, test_session_command)
+ icon = GdUnitUiTools.get_icon("Play")
+
+
+func execute(...parameters: Array) -> void:
+ var selected_paths: PackedStringArray = parameters[0]
+ execute_tests(selected_paths, false)