GherkinKeyword
Namespace: TrganReport.Enums
Represents Gherkin-style keywords used in behavior-driven development (BDD) scenarios.
public enum GherkinKeyword
Inheritance Object → ValueType → Enum → GherkinKeyword
Implements IComparable, ISpanFormattable, IFormattable, IConvertible
Fields
Name | Value | Description |
---|---|---|
None | 0 | No keyword specified. Used as a default or placeholder. |
Given | 1 | Defines the initial context or precondition for a scenario. |
When | 2 | Specifies an action or event that triggers behavior. |
Then | 3 | Describes the expected outcome or result. |
And | 4 | Adds additional steps to the current context, action, or outcome. |
But | 5 | Introduces a contrasting or exceptional condition. |
WildCard | 6 | Matches any keyword (ie, *). |