# Getting Unit Tests to Show Up

**URL:** <https://forums.unrealengine.com/t/getting-unit-tests-to-show-up/350065>\
**Category:** Mobile\
**Tags:** frontend, unreal-engine, editor, UE4, CPP, question\
**Created:** [March 9, 2016, 7:14pm UTC](https://forums.unrealengine.com/t/getting-unit-tests-to-show-up/350065 "2016-03-09T19:14:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_23e8b7d6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_23e8b7d6](https://forums.unrealengine.com/u/anonymous_user_23e8b7d6)\
**Post date:** [March 9, 2016, 7:14pm UTC](https://forums.unrealengine.com/t/getting-unit-tests-to-show-up/350065/1 "2016-03-09T19:14:16Z")

</div>

Hey there,

I am trying to get Unit tests set up and working in my teams project. I seem to be having a nightmare getting Unreal to show them in the session front end. Below is the code I use to write my Unit test.

```
IMPLEMENT_SIMPLE_AUTOMATION_TEST(FActionComponentDestroy, "HotGlue.Unit.ActionPointComponent.Estimation", EAutomationTestFlags::ATF_Editor)
bool FActionComponentDestroy::RunTest(const FString& Parameters)
{
    return false;
}

```

ActionPointComponentTest.cpp

I have also tried to place the macros in the header with no success. The weird thing is that at one point they did show up and I could run them however they would never update. I deleted the binaries and rebuilt and they were gone and never returned.

My question is what witchcraft do I have to do to get them to show up in Unreals UI?

Thank you,

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_7f256138](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7f256138](https://forums.unrealengine.com/u/anonymous_user_7f256138)\
**Post date:** [June 27, 2017, 10:50pm UTC](https://forums.unrealengine.com/t/getting-unit-tests-to-show-up/350065/2 "2017-06-27T22:50:04Z")

</div>

You have to restart the editor for the frontend tests to update correctly. Not sure why its like this, but [this][1] might be helpful. Here is an example of how I set my tests up (version 4.16)

```
IMPLEMENT_SIMPLE_AUTOMATION_TEST(MyClassSomethingTest, "Game.MyClass Something", EAutomationTestFlags::ApplicationContextMask | EAutomationTestFlags::SmokeFilter)

bool MyClassSomethingTest::RunTest(const FString& params)
{
	return true;
}

```

I could be wrong, but sometimes when I do not include “Something” in `Game.MyClass Something` and instead put `Game.MyClass` the test will no longer show up. I am also looking for an alternative to ue4 unit testing so if you find anything out please let me know.

[1]:
