Package io.cucumber.messages.types
Class Step
java.lang.Object
io.cucumber.messages.types.Step
Represents the Step message in Cucumber's message protocol
A step
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()Unique ID to be able to reference the Step from PickleStepThe actual keyword as it appeared in the source.The test phase signalled by the keyword: Context definition (Given), Action performance (When), Outcome assertion (Then).The location of the steps' `keyword`getText()inthashCode()toString()
-
Constructor Details
-
Step
-
-
Method Details
-
getLocation
The location of the steps' `keyword` -
getKeyword
The actual keyword as it appeared in the source. -
getKeywordType
The test phase signalled by the keyword: Context definition (Given), Action performance (When), Outcome assertion (Then). Other keywords signal Continuation (And and But) from a prior keyword. Please note that all translations which a dialect maps to multiple keywords (`*` is in this category for all dialects), map to 'Unknown'. -
getText
-
getDocString
-
getDataTable
-
getId
Unique ID to be able to reference the Step from PickleStep -
equals
-
hashCode
public int hashCode() -
toString
-