public interface StepDefinition
Modifier and Type | Method and Description |
---|---|
void |
execute(Object[] args)
Invokes the step definition.
|
String |
getLocation(boolean detail)
The source line where the step definition is defined.
|
Integer |
getParameterCount()
How many declared parameters this step definition has.
|
List<?> |
getParameters()
list of declared parameters this step definition has.
|
String |
getPattern() |
boolean |
isDefinedAt(StackTraceElement stackTraceElement)
Return true if this matches the location.
|
boolean |
isScenarioScoped() |
List<io.cucumber.stepexpression.Argument> |
matchedArguments(gherkin.pickles.PickleStep step)
Returns a list of arguments.
|
List<io.cucumber.stepexpression.Argument> matchedArguments(gherkin.pickles.PickleStep step)
step
- String getLocation(boolean detail)
detail
- true if extra detailed location information should be included.Integer getParameterCount()
List<?> getParameters()
void execute(Object[] args) throws Throwable
args
- Throwable
boolean isDefinedAt(StackTraceElement stackTraceElement)
stackTraceElement
- String getPattern()
boolean isScenarioScoped()
Copyright © 2023 NoraUi. All rights reserved.