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


Did you find this page useful? Please give it a rating:

Asynchronous tests
Run tests in the Test Runner window