Interface ITestAction
When implemented by an attribute, this interface implemented to provide actions to execute before and after tests.
public interface ITestAction
Properties
Targets
Provides the target for the action attribute
ActionTargets Targets { get; }
Property Value
- ActionTargets
The target for the action attribute
Methods
AfterTest(ITest)
Executed after each test is run
void AfterTest(ITest test)
Parameters
test
ITestThe test that has just been run.
BeforeTest(ITest)
Executed before each test is run
void BeforeTest(ITest test)
Parameters
test
ITestThe test that is going to be run.