Skip to main content

Testing an Unreal Engine plugin

UET can run automation tests for an Unreal Engine plugin using just the .uplugin 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 plugin

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

uet test -e 5.3

As with uet build, you must specify the engine version when running automation tests for a plugin. All of the same -e engine argument variations described on the uet build page for plugins also apply to uet test.

Specifying the prefix for tests to run

By default, uet test will run all automation tests that start with <PluginName>.. 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.