The Unreal Engine Advanced Testing Plugin is now live on the Unreal Engine Marketplace!
Last time I mentioned the plugin in my UE4 Automation Testing guide, I expected to “simply” publish it to the marketplace. I underestimated that it takes a couple of review iterations to get content published there, though. But that is a good thing! The marketplace seems to be well curated.
I started working on this plugin roughly 7 months ago to make writing automation tests more convenient. Because if it’s not convenient to write tests, you will simply not do it. And tests are important, they lower your maintenance costs.
One of the issues I was most annoyed with was that tests were not being hot reloaded. I spent way to many hours on finding out why, but now the plugin uses a workaround I found that makes your tests easily hot reloadable by using a different macro to declare your automation test and a special Module implementation for the module that contains your tests.
Note: be aware that this plugin may eventually get open sourced in 6-12 months, please get it to either support me or if you really think it is useful, otherwise you might aswell wait. If you want to use it non-commercially or get a version for evaluation, you’ll find a way to contact me :)
Getting Started
In case you decide to get the plugin (it is currently priced at ~45€), you should start with the
hot reloadable test in Source/Private/Test/
and then look at the main header AdvancedTesting.h
.
It is thoroughly documented including code examples.
Another place to go for instructions is my UE4 Automation Testing guide.
In the Advanced Testing subsection you will find
an example on how to use the AddInlineLatentCommand()
function.
Written in 30 minutes, edited in 10 minutes.