Class Step

    • Method Detail

      • getLocation

        public Location getLocation()
        The location of the steps' `keyword`
      • getKeyword

        public String getKeyword()
        The actual keyword as it appeared in the source.
      • getKeywordType

        public Optional<StepKeywordType> 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

        public String getText()
      • getId

        public String getId()
        Unique ID to be able to reference the Step from PickleStep
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object