Class IZagalaSpecBDDParser#

Inheritance Relationships#

Derived Types#

Class Documentation#

class IZagalaSpecBDDParser#

Common interface for all BDD format parsers.

Concrete implementations: FZagalaSpecGherkinParser — Gherkin / SpecFlow (.feature) FZagalaSpecFitNesseParser — FitNesse wiki pages (.wiki / content.txt) FZagalaSpecRobotFrameworkParser — Robot Framework (.robot) FZagalaSpecGaugeParser — Gauge (.spec / .cpt) FZagalaSpecZagalaSpecParser — ZagalaSpec-native (.zagalaspec)

Subclassed by FZagalaSpecFitNesseParser, FZagalaSpecGaugeParser, FZagalaSpecGherkinParser, FZagalaSpecRobotFrameworkParser, FZagalaSpecZagalaSpecParser

Public Functions

virtual ~IZagalaSpecBDDParser() = default#
virtual FZagalaSpecParseResult ParseFile(const FString &FilePath) const = 0#

Parse a BDD file from disk and return an import result.

Parameters:

FilePath – Path of the file to parse.

Returns:

The parsed features, errors, and warnings.

virtual FZagalaSpecParseResult ParseContent(const FString &Content, const FString &SourceName = TEXT("<inline>")) const = 0#

Parse BDD content from an in-memory string.

Parameters:
  • Content – BDD text to parse.

  • SourceName – Identifies the source in warnings/errors (e.g. file path or <inline>).

Returns:

The parsed features, errors, and warnings.