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:
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the hook hook type.

    Methods inherited from interface io.cucumber.plugin.event.TestStep

    getCodeLocation, getId
  • Method Details

    • getHookType

      HookType getHookType()
      Returns the hook hook type.
      Returns:
      the hook type.