Package org.citrusframework
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.
Interface for all test actions.
- Since:
- 2006
- Author:
- Christoph Deppisch
-
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(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 Details
-
execute
Main execution method doing all work- Parameters:
context-
-
getName
Name of test action injected as Spring bean name- Returns:
- name as String
-
isDisabled
Checks if this action is disabled.- Parameters:
context- the current test context.- Returns:
- true if action is marked disabled.
-
getActor
Gets the test actor associated with this test action.- Returns:
-