📜  统一单元测试 - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:02.341000             🧑  作者: Mango

代码示例1
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.