![]() ![]() \Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.exe MyTestsTarget Development Win64 Suppose we build explicit test cases with their target class MyTestsTarget: ![]() You can use Unreal Build Tool to build explicit tests. Run Rebuild on the test project to remedy this problem. If there are no tests in Test Explorer, it's likely that the build at step 2 didn't update the executable. From here, you can run tests and navigate to their source code. Select Test > Test Explorer from the menu. ![]() The tests are displayed in the Test Explorer. You can build with UnrealVS or directly through Visual Studio's interface. The Visual Studio built-in test adapter discovers tests in the Catch2 executables. For more information about UnrealVS, see the UnrealVS Extension documentation.īuild the test projects from Visual Studio to produce the executables. This is optional, but strongly recommended, as it enhances test discoverability. You can build and run explicit tests directly from Visual Studio on desktop platforms: At the end of this page, the Example: Foundation Tests section guides you through how to build and run a low-level tests project included with Unreal Engine. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |