Skip to main content

Testing an Unreal Engine project

UET can run automation tests for an Unreal Engine project using just the .uproject file. For a more complete list of options, use uet test --help.

info

uet test only works for .uproject and .uplugin files. If you've set up a BuildConfig.json file, use uet build --test instead.

Testing a project

To run the automation tests for an Unreal Engine project, run:

uet test

All of the same -e engine argument variations described on the uet build page for projects also apply to uet test.

Specifying the prefix for tests to run

By default, uet test will run all automation tests that start with <ProjectName>.. You can specify a different prefix with:

uet test --prefix "PrefixToUse."

The trailing dot is optional, but is usually what you want to ensure an exact match on the test namespace.