Implementing OnAdditionalTestFinishedMessageRequest is useful as a way to log additional information into the test summary.Īctors passed to this function will be destroyed automatically when the test ends. The Functional Test class also provides the following support features: Because testing often affects the Level or Actors within the Level in a way that impacts subsequent tests, using this opportunity to clean up can be vitally important to maintaining a usable testing environment. Once the test ends, this delegate will be called. Bind this to your test functionality, and be sure to call FinishTest at the end. This delegate is called when the Functional Testing Manager begins the test. If the initialization processes set in motion by PrepareTest are incomplete, this function should return false to prevent the main test code from starting prematurely. By default, this function returns true, which permits OnTestStarted to be called immediately. This function is called on every tick after the initial PrepareTest call, and will continue to be called until OnTestStart is run. If this setup requires multiple frames, for example, if the setup requires streaming data to be loaded into the Level, building pathing data, or connecting to a server, this function should start those processes. This function is the first to run, along with the OnTestPrepare delegate, and can be overridden to perform the initial setup required for your test. The PrepareTest function can be overridden in a code or Blueprint child class. The Functional Test class provides the following important functions: A Level Blueprint running a placeholder Functional Test.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |