自動テストとパフォーマンステスト
Overview
ADT translates the results of your automated and performance tests from the JSON output file into an easy-to-interpret graph and test status.
You can choose from two types of test in ADT:
- Automated - script your automated test and send the results to ADT for collation and reporting.
- Performance - this is where you dig into the performance of your game and send the results to ADT.
Across ADT we call files that are added to a game build “metadata" files.
Automated tests
The two automated tests are known as the Sniff test and the Smoke test.
- A Sniff test automatically tests the basics of a build, such as: Does it launch? Does it run?
- A Smoke test typically runs through a much more rigorous testing regime. It tests whether certain states that you have tested for are achieved through your automated test.
Both of these tests are typically set up by build engineers and the QA team to run autonomously. For details, see Interpret the automated test output.
Performance test
These are the performance test measures:
- Frame time
- GPU time
- Draw time
To perform these tests, you need to create a test that generates a JSON file using the correct format. Interpret the automated test output.
Run an automated test or performance test
These steps explain how to run an automated test or performance test in a sample game using Unreal Editor.
- Launch the project in Unreal Engine.
- Click the Window menu.
- Choose Developer Tools - Session Frontend.
- Click the Automated tab.
- Enable the Automated Test or Performance Test option.
- Click the Start Tests button. Unreal runs the test and outputs a JSON file.
- Use ADT CLI to upload the JSON file to the ADT Backend.