Skip to content

jimmyt1988/unit-testing-unreal-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Unit Testing Unreal Engine

Overview

This is a guide for unit testing Unreal Engine.

It makes an assumption that you have:

  1. Unreal Engine installed
  2. Visual Studio 2022 installed
  3. A project created in Unreal Engine
  4. Some overall experience with Unreal Engine

With UE5, you can

  1. Unit test C++ code.
  2. Use an out of the box Inversion of Control (IOC) container called TTypeContainer. An example can be found here.
  3. Make use of Visual Studio 2022's Test Explorer.
  4. Run a CLI version of Unreal Engine to run the tests.
  5. See unit tests within Unreal Engine's editor. (Front End Session).

With UE5, you cannot

  1. Utilise dependency injection (DI) for your classes.

Let's get started

Please select the closest version of Unreal Engine you are using:

About

A repository dedicated to helping you unit test your Unreal Engine code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published