Running Gauntlet Tests

Instructions on how to run a Gauntlet test and an explanation of what happens during the process.

Windows
MacOS
Linux

In this guide, you will run an existing Gauntlet test available for the Elemental demo. This will familiarize you with the process for running tests and give you an idea what is happening at each step along the way.

ElementalDemo Test Node

image_0.png

Run the ElementalDemo Example

  1. Open a command prompt at Engine/Build/BatchFiles under your Unreal Engine directory.

  2. Enter the following in the command prompt:

    RunUAT BuildCookRun -project=Samples/Showcases/ElementalDemo/ElementalDemo.uproject -platform=Win64 -configuration=Development -build -cook -pak -stage
  3. Once that process completes, enter the following in the command prompt:

    RunUAT RunUnreal -project=Samples/Showcases/ElementalDemo -platform=Win64 -configuration=Development -build=local -test=ElementalDemoTest

ElementalDemo Test Explanation

  1. BuildCookRun generated a Win64 build of ElementalDemo in Samples/ElementalDemo/Saved/StagedBuilds.

  2. RunUnreal launched Gauntlet, which:

    1. Created an instance of the ElementalDemoTest node, which provided basic rules for running the test.

    2. Discovered local builds for the ElementalDemo Project.

    3. Validated that a Win64 Development build was available.

    4. Launched ElementalDemo.

    5. Monitored the running process for any issues.

    6. Detected that ElementalDemo had exited.

    7. Checked for common issues such as crashes, asserts, and fatal errors.

  3. Along the way, provided the ElementalDemoTest node verifies that the test was still running and that no errors had occurred, create a summary report.

태그
언리얼 엔진 문서의 미래를 함께 만들어주세요! 더 나은 서비스를 제공할 수 있도록 문서 사용에 대한 피드백을 주세요.
설문조사에 참여해 주세요
건너뛰기