Running tests
Run Unity tests from the Editor's Test Runner window, from the command line, or directly from code.
Read time 1 minuteLast updated 12 days ago
Run your Unity Test Framework tests from the Unity Editor's Test Runner 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. |