Package io.cucumber.plugin.event
Interface HookTestStep
-
- All Superinterfaces:
TestStep
@API(status=STABLE) public interface HookTestStep extends TestStep
Hooks are invoked before and after each scenario and before and after each gherkin step in a scenario.- See Also:
TestCaseStarted
,TestCaseFinished
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HookType
getHookType()
Returns the hook hook type.-
Methods inherited from interface io.cucumber.plugin.event.TestStep
getCodeLocation, getId
-
-
-
-
Method Detail
-
getHookType
HookType getHookType()
Returns the hook hook type.- Returns:
- the hook type.
-
-