Class TestActionCommand
TestActionCommand handles a single ITestAction applied to a test. It runs the BeforeTest method, then runs the test and finally runs the AfterTest method.
public class TestActionCommand : BeforeAndAfterTestCommand
- Inheritance
-
TestActionCommand
- Inherited Members
Constructors
TestActionCommand(TestCommand, ITestAction)
Initializes a new instance of the TestActionCommand class.
public TestActionCommand(TestCommand innerCommand, ITestAction action)
Parameters
innerCommand
TestCommandThe inner command.
action
ITestActionThe TestAction with which to wrap the inner command.