# Create a test

> Create your first sample tests from the Test Runner window.

To create a test through the **Test Runner** window:

1. [Create your Test Assembly folder](/engine/6000.6/manual/scripting/test-framework-introduction/getting-started/workflow-create-test-assembly.md) and select it in the **Project** window.
2. Open the Test Runner window (menu: **Window** > **General** > **Test Runner**).
3. Click the **Create a new Test Script in the active path** button in the **Test Runner** window.

Alternatively, use the **Asset** menu:

1. In the **Project** window, select the new folder.
2. Create a new test script in the folder (menu: **Assets > Create > Testing > C# Test Script**).

This creates a `NewTestScript.cs` file in the `Tests` folder with some sample tests to get you started. Change the name of the script, if necessary, and press Enter to accept it.


**The Project window displays the newly created NewTestScript.cs file in the Tests subfolder of the Assets folder.:**
![](/api/media?file=/engine/6000.6/media/images/new-test-script.png)

The **Test Runner** window now displays the sample tests:


**The Test Runner window displays the sample tests from the NewTestScript file.:**
![](/api/media?file=/engine/6000.6/media/images/sample-test-tree.png)

You can now open the tests for editing in your IDE.

## Creating Play mode tests

The process for creating a Play mode test is the same as for creating an Edit mode test. The only difference is that Play mode tests that need to [run in a standalone platform Player](/engine/6000.6/manual/scripting/test-framework-introduction/running-tests/workflow-run-playmode-test-standalone.md) should be in an assembly that references the required platform.

## Additional resources

* [Edit mode and Play mode tests](/engine/6000.6/manual/scripting/test-framework-introduction/getting-started/edit-mode-vs-play-mode-tests.md)
* [Create a test assembly](/engine/6000.6/manual/scripting/test-framework-introduction/getting-started/workflow-create-test-assembly.md)
