Class AfterTestCommand
AfterCommand is a DelegatingTestCommand that performs some specific action after the inner command is run.
public abstract class AfterTestCommand : DelegatingTestCommand
- Inheritance
-
AfterTestCommand
- Derived
- Inherited Members
Constructors
AfterTestCommand(TestCommand)
Construct an AfterCommand
public AfterTestCommand(TestCommand innerCommand)
Parameters
innerCommand
TestCommand
Fields
AfterTest
Set this to perform action after the inner command.
protected Action<TestExecutionContext>? AfterTest
Field Value
Methods
Execute(TestExecutionContext)
Execute the command
public override TestResult Execute(TestExecutionContext context)
Parameters
context
TestExecutionContext