How to use Unreal Automated Test System to test subsystems?

Hi, I’m trying to make an automated test, to test some functions of a UGameInstanceSubsytem previously created.
The subsystems are usually automatically created and initialized by the engine when you hit play, but the testing environment is different from the play mode and I need to manually instantiate it.
How can I do this? I’ve already tried to create a new GameInstance and get the subsystem from here, but that didn’t worked out.
Thanks in advance!

1 Like