Navigation
API > API/Plugins > API/Plugins/AutomationTestToolset > API/Plugins/AutomationTestToolset/UAutomationTestToolset
Description
Initialize automation worker discovery and load the test list. Must be called once before ListTests or RunTests. Takes several seconds as it discovers the local automation worker and enumerates all registered tests. Returns an async result that completes with a JSON status object when tests are available, or an error if discovery fails.
| Name | DiscoverTests |
| Type | function |
| Header File | /Engine/Plugins/Experimental/Toolsets/AutomationTestToolset/Source/AutomationTestToolset/Public/AutomationTestToolset.h |
| Include Path | #include "AutomationTestToolset.h" |
| Source | /Engine/Plugins/Experimental/Toolsets/AutomationTestToolset/Source/AutomationTestToolset/Private/AutomationTestToolset.cpp |
UFUNCTION (Meta=(AICallable), Category="AutomationTestToolset")
static UToolCallAsyncResultString * DiscoverTests
(
bool bForceRediscover
)
Parameters
| Name | Remarks |
|---|---|
| bForceRediscover | When true, bypass the cached report tree and re-poll workers. Used after reloading Python test modules mid-session. |