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


Did you find this page useful? Please give it a rating:

Testing your code
Edit mode and Play mode tests