Setting up and cleaning up at build time
Asserting and comparing

Execution order of test actions

When writing tests, it is possible to avoid duplication of code by using the SetUp and TearDown methods built into NUnit. The Unity Test Framework has extended these methods with extra functionality, which can yield commands and skip frames, in the same way as UnityTest.

Action execution order

The actions related to a test run in the following order:

The list of actions is the same for both Test and UnityTest.

Execution order flow

The order of execution for test actions and callbacks, with those that re-run on domain reload differentiated from those that dont.
The order of execution for test actions and callbacks, with those that re-run on domain reload differentiated from those that don’t.

Additional resources


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

Setting up and cleaning up at build time
Asserting and comparing