File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
contributing/development/core_and_modules Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -260,6 +260,25 @@ the engine, for instance:
260260 "Invalid HTML notation should result in a Color with the default values.");
261261 }
262262
263+ Special tags in test case names
264+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
265+
266+ These tags can be added to the test case name to modify or extend the test environment:
267+
268+ +-------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
269+ | **Tag ** | **Description ** |
270+ +-------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
271+ | ``[SceneTree] `` | Required for test cases that rely on a scene tree with MessageQueue to be available. It also enables a mock rendering server and :ref: `ThemeDB<class_ThemeDB> `. |
272+ +-------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
273+ | ``[Editor] `` | Like ``[SceneTree] ``, but with additional editor-related infrastructure available, such as :ref: `EditorSettings<class_EditorSettings> `. |
274+ +-------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
275+ | ``[Audio] `` | Initializes the :ref: `AudioServer<class_AudioServer> ` using a mock audio driver. |
276+ +-------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
277+ | ``[Navigation] `` | Creates the default 2D/3D navigation servers and makes them available for testing. |
278+ +-------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
279+
280+ You can use them together to combine multiple test environment extensions.
281+
263282Test tools
264283----------
265284
You can’t perform that action at this time.
0 commit comments