Files
UnrealEngineUWP/Engine/Source/Programs/UnrealVS/Unreal.TestAdapter
sebastian nordgren 1a2fea3973 Compiled UnrealVS in VS2019 to make it load correctly in VS2019.
Bumped version number to trigger a reinstall.

Updated release notes.

#rb joe.pribele
#jira UE-174627
#lockdown jeanmichel.dignard
#preflight 63e0e0a09740e583f41f5230

[CL 24031464 by sebastian nordgren in ue5-main branch]
2023-02-06 11:20:27 -05:00
..

#Things to know

  • dll must be called XXX.TestAdapter.dll. VS looks for dll's with this pattern.

  • source.extension.vsixmanifest has a reference to this project. that does the deployment of the dll. Under Assets with a type of UnitTestExtension

  • TestDiscoverer relies on a file called (exe).is_unreal_test existing. The TestTargetRules currently outputs this file The reason for this is to quickly identify text executables. Another option would be add a special string into the exe and then look for it in the binary

#Debugging

Easiest way to debug the TestDisoverer or the TestExecutor by adding System.Diagnostics.Debugger.Launch(); to DiscoverTests or RunTests respectively.