name: ue-test-patterns description: Patterns for writing and running UE 5.7 automation tests
UE 5.7 Test Execution
- Headless:
UnrealEditor-Cmd <project> -ExecCmds="Automation RunTests <filter>;Quit" -nullrhi -unattended -nosplash -ABSLOG=<path> - Parse "Test Completed." lines:
Result={Success|Fail}andPath={} - Failure details between
BeginEvents/EndEventsmarkers - Exit codes unreliable on macOS — always parse logs
- Add
sleep 1after test for log flush on macOS
Test Naming
ProjectName.Unit.*— headless unit testsProjectName.Visual.*— GPU visual testsProjectName.Integration.*— integration tests