Class TestActionCommand
TestActionCommand runs the BeforeTest actions for a test, then runs the test and finally runs the AfterTestActions.
public class TestActionCommand : DelegatingTestCommand
- Inheritance
-
TestActionCommand
- Inherited Members
Constructors
TestActionCommand(TestCommand)
Initializes a new instance of the TestActionCommand class.
public TestActionCommand(TestCommand innerCommand)
Parameters
innerCommand
TestCommandThe inner command.
Methods
Execute(TestExecutionContext)
Runs the test, saving a TestResult in the supplied TestExecutionContext.
public override TestResult Execute(TestExecutionContext context)
Parameters
context
TestExecutionContextThe context in which the test should run.
Returns
- TestResult
A TestResult