Description

Something in the way that live coding interacts with the test system, or how the tests are loaded at startup and initialized, isn't quite matching up.  

Steps to Reproduce

[Link Removed]

  • Using the provided sample project, generate project files and launch the project with 4.25.4 (I used an EGL copy)
  • Run the CppProj.Add test from the Session Frontend (Window->Developer Tools->Session Frontend).  The test should be under Product Tests under "CppProj"->"Add" and be the only one available for CppProj.
  • Note that the test fails.
  • Enable Live Coding
  • Change the test spec file (CppProj\Plugins\CppProjTestsPlugin\Source\CppProjTests\Tests\AdditionUniqueStarter.spec.cpp) to make the equality test pass
  • Reload with Live Coding
  • Note that the test still fails with the same operation that was originally loaded with the test when the editor started up. 

Expected: The test should pass upon reload from live coding since it was changed.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-104059 in the post.

2
Login to Vote

By Design
CreatedDec 3, 2020
ResolvedDec 4, 2020
UpdatedSep 8, 2021
View Jira Issue