Version: Unity 6.2 (6000.2)
Language : English
Asynchronous tests
Run tests in the Test Runner window

Running tests

Run your Unity Test Framework tests from the Unity Editor’s Test RunnerThe Test Framework package (formerly called the Test Runner) is a Unity tool that tests your code in both Edit mode and Play mode, and also on target platforms such as Standalone, Android, or iOS. More info
See in Glossary
window, from code, or from the Editor command line.

Topic Description
Run tests from the Test Runner window Use the Unity Editor’s built-in Test Runner window to run tests in Edit mode, Play mode, or in a standalone platform Player.
Run tests from the command line Run tests from the Editor command line with Unity Test Framework’s command-line arguments.
Run tests from code Run tests from code with the TestRunnerAPI.
Run Play mode tests in a Player Build and run your tests on a standalone Player for your target platform.
Modifying a Player build for tests Modify the build options for a platform Player built to run tests on.

Additional resources

Asynchronous tests
Run tests in the Test Runner window
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961