Running Command Line Automation Tests 4.10?

I am trying to to run command line automation test in 4.10. In previous versions of the engine they were easily as seen here: Run automated testing from command line - Platform & Builds - Unreal Engine Forums , and this is no longer working in the new version of the engine. At the bottom of the the first answer a staff member said, "Heads up though, this will be changing in the next release. For the better. :slight_smile: ".

I have been looking for any sort of documentation on how to run automation tests as a command line argument for 4.10 but have turned up nothing.

Any help would be appreciated!

Thanks,

OVIE

Be sure to use the pretty name specified in your IMPLEMENT_SIMPLE_AUTOMATION_TEST macro and not the class name. That’s the main difference I’ve noticed in recent UE4 builds.

This was the way we were doing it previously. The tests are no longer being run as of 4.10.

Thanks for the response!

I’ve got things working with 4.10 for both UE4Editor.exe and RunUAT.bat.

For tests defined with ATF_Editor:

UE4Editor.exe $(ProjectName) -editortest -execcmds=“automation list, automation runtests MyGroup.MyCategory.MyEditorTestName” -testexit=“Automation Queue Empty”

RunUAT.bat BuildCookRun -project=“MyProject” -run -RunAutomationTest=MyGroup.MyCategory.MyEditorTestName -unattended -NOP4 -editortest

For tests defined with ATF_Game, replace -editortest with -game.

This works!

Thanks Andy!