We are trying to run the Compile Blueprints test, which is part of Unreal’s Test Automation framework, outside of the engine to integrate it into our CI/CD pipeline. While the test runs successfully inside the editor, executing it via a Python script externally does not behave as expected.
Observed Behavior
The test Project.Blueprints.Compile Blueprints is categorized under the Stress Test filter. To locate and run this test, the filter must be explicitly set using Automation SetFilter Stress. However, when both SetFilter and RunTest are included in the same ExecCmds line, it appears that Automation RunTest overrides the filter and resets it to Standard Tests. This causes the test to not be found.
When run without Automation RunTest, the filter is correctly applied, and the log shows 39 additional tests—close to the expected number seen in the Automation tab. The source of these extra tests is unclear.
Request for Clarification
Could you clarify:
How to run a test in the Stress category directly from the command line?
Whether this behavior is a known limitation or bug in Unreal’s automation system?
cmd=[
engine,
project,
“-editortest”,
“-ExecCmds="Automation SetFilter Stress, Automation RunTest Project.Blueprints.Compile Blueprints"”,
#“-TestExit=Automation Test Queue Empty”, #Has been disabled to not exit the editor after running the test
]
cmd=[
engine,
project,
“-editortest”,
“-ExecCmds="Automation SetFilter Stress"”,
#“-TestExit=Automation Test Queue Empty”, #Has been disabled to not exit the editor after running the test
]
cmd = " ".join(cmd)
subprocess.run(cmd)`Code and video showing “-ExecCmds=\“Automation SetFilter Stress\””, removed Automation RunTest Project.Blueprints.Compile Blueprints