How do you get automation test results from the command prompt?

You can add

-ExecCmds="Automation RunTests $TestNameStrings$; Quit"

to your commandline, where $TestNameStrings$ is replaced by the names of the tests you want to run, delimited with the + symbol. This will run the tests matching the name strings, then exit when all tests have completed. You can then parse the game log for the test results.

Example:

UE4Editor.exe MyProject -ExecCmds="Automation RunTests Project+System; Quit"

I am working on a game, and on the cooks I want to have them automatically run the automation tests and give me a result in a text file or something of the sorts.

I need to know how to run an automation test and get the results all in the command prompt, without having to open up my game manually.

The tests appear to run, but the logs don’t show any pass/fail for the tests. I made sure to have TestEqual("Always fail", true, false); in my tests (which correctly shows as failed in the editor) but the logs don’t show any of the tests failed. Do you know what I can expect the logs to show?