ScenarioInterface
extends
ScenarioLikeInterface, TaggedNodeInterface
in
Gherkin scenario interface.
Tags
Table of Contents
Methods
- getKeyword() : string
- Returns node keyword.
- getLine() : int
- Returns feature declaration line number.
- getNodeType() : string
- Returns node type string
- getSteps() : array<string|int, StepNode>
- Returns container steps.
- getTags() : array<string|int, string>
- Returns node tags (including inherited from feature).
- getTitle() : null|string
- Returns node title.
- hasSteps() : bool
- Checks if container has steps.
- hasTag() : bool
- Checks if node is tagged with tag.
- hasTags() : bool
- Checks if node has tags (both inherited from feature and own).
Methods
getKeyword()
Returns node keyword.
public
getKeyword() : string
Return values
stringgetLine()
Returns feature declaration line number.
public
getLine() : int
Return values
intgetNodeType()
Returns node type string
public
getNodeType() : string
Return values
stringgetSteps()
Returns container steps.
public
getSteps() : array<string|int, StepNode>
Return values
array<string|int, StepNode>getTags()
Returns node tags (including inherited from feature).
public
getTags() : array<string|int, string>
Return values
array<string|int, string>getTitle()
Returns node title.
public
getTitle() : null|string
Return values
null|stringhasSteps()
Checks if container has steps.
public
hasSteps() : bool
Return values
boolhasTag()
Checks if node is tagged with tag.
public
hasTag(string $tag) : bool
Parameters
- $tag : string
Return values
boolhasTags()
Checks if node has tags (both inherited from feature and own).
public
hasTags() : bool