Enum EZagalaSpecStepPhase#

Enum Documentation#

enum class EZagalaSpecStepPhase : uint8#

BDD phase of a step in the ZagalaSpec import/export pipeline.

Used internally by parsers, the feature builder, and exporters. The phase is never stored on step objects — it is always inferred at export time from the leading keyword of the step text (e.g. “Given the user logs in” -> Given).

UnknownStepPhase means the phase could not be determined; exporters default to Given.

Values:

enumerator UnknownStepPhase#

Unresolved; exporter falls back to prefix-word detection.

enumerator Given#

Precondition — synonyms: Given, Arrange, Precondition, Setup.

enumerator When#

Trigger — synonyms: When, Act, Trigger, Action.

enumerator Then#

Postcondition — synonyms: Then, Assert, Postcondition, Verify.

enumerator Conjunction#

Conjunction — synonyms: And, But, Conjunction.