Package io.cucumber.plugin.event
Class StepDefinition
java.lang.Object
io.cucumber.plugin.event.StepDefinition
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe source line where the step definition is defined.
-
Constructor Details
-
StepDefinition
-
-
Method Details
-
getLocation
The source line where the step definition is defined. Example: com/example/app/Cucumber.test():42- Returns:
- The source line of the step definition.
-
getPattern
- Returns:
- the pattern associated with this instance. Used for error reporting only.
-