Avoiding duplicate code in Automation Tests

Does the automation testing framework have a way to avoid writing duplicate code for a series of similar tests? I’ve written several automation tests in Unreal that start with the same initialization code for the test (Create new map, spawn actor, etc…). I’m thinking of something similar to fixture classes in Google Test, where I would use a fixture class to store the initialization code.

1 Like