Package io.cucumber.plugin.event
Interface PickleStepTestStep
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description List<Argument>
getDefinitionArgument()
Returns the arguments provided to the step definition.String
getPattern()
The pattern or expression used to match the glue code to the Gherkin step.Step
getStep()
The matched Gherkin stepStepArgument
getStepArgument()
Deprecated.usegetStep()
int
getStepLine()
Deprecated.usegetStep()
String
getStepText()
Deprecated.use#getStep()
URI
getUri()
A uri to to the feature of this step.-
Methods inherited from interface io.cucumber.plugin.event.TestStep
getCodeLocation, getId
-
-
-
-
Method Detail
-
getPattern
String getPattern()
The pattern or expression used to match the glue code to the Gherkin step.- Returns:
- a pattern or expression
-
getStep
Step getStep()
The matched Gherkin step- Returns:
- the matched step
-
getDefinitionArgument
List<Argument> getDefinitionArgument()
Returns the arguments provided to the step definition.For example the step definition
Given (.*) pickles
when matched withGiven 15 pickles
will receive as argument"15"
.- Returns:
- argument provided to the step definition
-
getStepArgument
@Deprecated StepArgument getStepArgument()
Deprecated.usegetStep()
Returns arguments provided to the Gherkin step. E.g: a data table or doc string.- Returns:
- arguments provided to the gherkin step.
-
getStepLine
@Deprecated int getStepLine()
Deprecated.usegetStep()
The line in the feature file defining this step.- Returns:
- a line number
-
getUri
URI getUri()
A uri to to the feature of this step.- Returns:
- a uri
-
getStepText
@Deprecated String getStepText()
Deprecated.use#getStep()
The full text of the Gherkin step.- Returns:
- the step text
-
-