Hi, I want to add FAutomationTestFramework::Get().PreTestingEvent delegate.
Then I can 'InUnitTest" bool flag on and off by PreTestingEvent/PostTestingEvent delegate.
IModuleInteface::StartupModule() is called before FEngineLoop::PreInit() → FAutomationTestFramework::RunSmokeTest().
But, I don’t know what code in ‘primary module’ is called before FAutomationTestFramework::RunSmokeTest().
- Is there any good or official way to know that some function is called by AutomationTestFramework or not?
- Where should I add PreTestingEvent / PostTestingEvent delegate?
Thanks.