unreal.PythonTestRunnerSearchOptions

class unreal.PythonTestRunnerSearchOptions(root_module: str = '', test_module_glob: str = '', test_name_globs: None = [])

Bases: StructBase

Search parameters for Python tests.

C++ Source:

  • Plugin: ToolsetRegistry

  • Module: ToolsetRegistry

  • File: PythonTestRunner.h

Editor Properties: (see get_editor_property/set_editor_property)

  • root_module (str): [Read-Write] See toolset_registry.tests.unittest_runner.TestSearchOptions Python module / package to search under.

  • test_module_glob (str): [Read-Write] Glob used to match test module names.

  • test_name_globs (Array[str]): [Read-Write] Globs used to match individual test names.

property root_module: str

[Read-Write] See toolset_registry.tests.unittest_runner.TestSearchOptions Python module / package to search under.

Type:

(str)

property test_module_glob: str

[Read-Write] Glob used to match test module names.

Type:

(str)

property test_name_globs: None

[Read-Write] Globs used to match individual test names.

Type:

(Array[str])