IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Package NUnit.Framework.Internal.Commands

Classes

class  ApplyChangesToContextCommand
 ContextSettingsCommand applies specified changes to the TestExecutionContext prior to running a test. No special action is needed after the test runs, since the prior context will be restored automatically. More...
 
class  DelegatingTestCommand
 TODO: Documentation needed for class More...
 
class  MaxTimeCommand
 TODO: Documentation needed for class More...
 
class  OneTimeSetUpCommand
 OneTimeSetUpCommand runs any one-time setup methods for a suite, constructing the user test object if necessary. More...
 
class  OneTimeTearDownCommand
 OneTimeTearDownCommand performs any teardown actions specified for a suite and calls Dispose on the user test object, if any. More...
 
class  SetUpTearDownCommand
 SetUpTearDownCommand runs any SetUp methods for a suite, runs the test and then runs any TearDown methods. More...
 
class  SetUpTearDownItem
 SetUpTearDownItem holds the setup and teardown methods for a single level of the inheritance hierarchy. More...
 
class  SkipCommand
 TODO: Documentation needed for class More...
 
class  TestActionCommand
 TestActionCommand runs the BeforeTest actions for a test, then runs the test and finally runs the AfterTestActions. More...
 
class  TestActionItem
 TestActionItem represents a single execution of an ITestAction. It is used to track whether the BeforeTest method has been called and suppress calling the AfterTest method if it has not. More...
 
class  TestCommand
 TestCommand is the abstract base class for all test commands in the framework. A TestCommand represents a single stage in the execution of a test, e.g.: SetUp/TearDown, checking for Timeout, verifying the returned result from a method, etc. More...
 
class  TestMethodCommand
 TestMethodCommand is the lowest level concrete command used to run actual test cases. More...
 
class  TheoryResultCommand
 TheoryResultCommand adjusts the result of a Theory so that it fails if all the results were inconclusive. More...
 

Enumerations

enum  CommandStage { CommandStage.Default, CommandStage.BelowSetUpTearDown, CommandStage.SetUpTearDown, CommandStage.AboveSetUpTearDown }
 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. More...
 

Enumeration Type Documentation

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.

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.

Enumerator
Default 

Use an application-defined default value.

BelowSetUpTearDown 

Make adjustments needed before and after running the raw test - that is, after any SetUp has run and before TearDown.

SetUpTearDown 

Run SetUp and TearDown for the test. This stage is used internally by NUnit and should not normally appear in user-defined decorators.

AboveSetUpTearDown 

Make adjustments needed before and after running the entire test - including SetUp and TearDown.