Version: Unity 6.2 (6000.2)
Language : English
Testing your code
Edit mode and Play mode tests

Get started with Unity Test Framework

Get started with Unity Test Framework and create your first tests for either Edit mode or Play mode code.

Topic Description
Edit mode and Play mode tests Define tests as either Edit mode or Play mode depending on the context they run in.
Create a test assembly Create an assembly that Unity recognizes as containing tests.
Create a test Create your first sample tests from the 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.

Additional resources

Testing your code
Edit mode and Play mode tests
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961