Package com.consol.citrus
Interface TestAction
-
- All Known Subinterfaces:
AfterSuite,AfterTest,BeforeSuite,BeforeTest,TestActionContainer,TestCase
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface TestAction
Interface for all test actions.- Since:
- 2006
- Author:
- Christoph Deppisch
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidexecute(TestContext context)Main execution method doing all workdefault TestActorgetActor()Gets the test actor associated with this test action.default StringgetName()Name of test action injected as Spring bean namedefault booleanisDisabled(TestContext context)Checks if this action is disabled.
-
-
-
Method Detail
-
execute
void execute(TestContext context)
Main execution method doing all work- Parameters:
context-
-
getName
default String getName()
Name of test action injected as Spring bean name- Returns:
- name as String
-
isDisabled
default boolean isDisabled(TestContext context)
Checks if this action is disabled.- Parameters:
context- the current test context.- Returns:
- true if action is marked disabled.
-
getActor
default TestActor getActor()
Gets the test actor associated with this test action.- Returns:
-
-