Enum CommandStage
The CommandStage enumeration represents the defined stages of execution for a series of TestCommands. The int _values of the enum are used to apply decorators in the proper order. Lower _values are applied first and are therefore "closer" to the actual test execution.
public enum CommandStage
Fields
AboveSetUpTearDown = 3
Make adjustments needed before and after running the entire test - including SetUp and TearDown.
BelowSetUpTearDown = 1
Make adjustments needed before and after running the raw test - that is, after any SetUp has run and before TearDown.
Default = 0
Use an application-defined default value.
SetUpTearDown = 2
Run SetUp and TearDown for the test. This stage is used internally by NUnit and should not normally appear in user-defined decorators.
Remarks
No CommandStage is defined for actual invocation of the test or for creation of the context. Execution may be imagined as proceeding from the bottom of the list upwards, with cleanup after the test running in the opposite order.