Install Test Framework package from the Unity Package Manager
- Window -> Package Manager
To start writing tests, go to:
- Window -> General -> Test Runner
Select 'Edit Mode' and click 'Create EditMode Test Assembly Folder'.
Here you will create a folder for your test scripts.
Go to the 'Test Runner' window to run your tests.
//https://docs.unity3d.com/Manual/testing-editortestsrunner.html