Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Get started with Unity Test Framework

Create your first test assembly and sample Unity Test Framework tests.
Read time 1 minuteLast updated 10 days ago

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 testsDefine tests as either Edit mode or Play mode depending on the context they run in.
Create a test assemblyCreate an assembly that Unity recognizes as containing tests.
Create a testCreate your first sample tests from the Test Runner window.

Additional resources