Version: 2019.4
Stack trace logging
Scripting concepts

Unit Testing

As your project grows, and the number of scriptsA piece of code that allows you to create your own Components, trigger game events, modify Component properties over time and respond to user input in any way you like. More info
See in Glossary
, classes and methods in your project increases, it can become difficult to ensure that a change in one part of your code doesn’t break things somewhere else.

Automated testing helps you check that all parts of your code are functioning as expected. It saves time by identifying where and when problems occur as soon as they are introduced during development, rather than relying on manual testing, or even worse - bug reports from your end users.

The Unity Test Framework package (formerly the “Unity Test Runner”) is a tool that allows you to test your code in both Edit mode and Play mode, and also on target platforms such as Standalone, Android, or iOSApple’s mobile operating system. More info
See in Glossary
.

For more information on other versions of the Test Framework package, see the com.unity.test-framework page.

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