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.StringgetPattern()The pattern or expression used to match the glue code to the Gherkin step.StepgetStep()The matched Gherkin stepStepArgumentgetStepArgument()Deprecated.usegetStep()intgetStepLine()Deprecated.usegetStep()StringgetStepText()Deprecated.use#getStep()URIgetUri()A uri to to the feature of this step.-
Methods inherited from interface io.cucumber.plugin.event.TestStep
getCodeLocation
-
-
-
-
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 (.*) pickleswhen matched withGiven 15 pickleswill 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
-
-