Class FZagalaSpecRobotFrameworkParser#
Defined in File ZagalaSpecRobotFrameworkParser.h
Inheritance Relationships#
Base Type#
public IZagalaSpecBDDParser(Class IZagalaSpecBDDParser)
Class Documentation#
-
class FZagalaSpecRobotFrameworkParser : public IZagalaSpecBDDParser#
Parses Robot Framework (.robot) files.
Supported constructs:
*** Settings *** : Documentation (-> Feature description), Tags (-> Feature tags), Suite Setup/Teardown (warning), Test Setup/Teardown (warning)
*** Variables *** : entire section produces a warning and is skipped
*** Test Cases *** : each test case becomes an FZagalaSpecScenarioIR
[Documentation] -> Scenario description
[Tags] -> Scenario tags
[Template] -> data-driven: ONE scenario emitted with ExamplesTable populated; the builder creates a UZagalaSpecContextExtensionExamplesIterator instead of duplicating expectations per row.
Given/When/Then-prefixed keyword calls -> steps
*** Keywords *** : skipped (implementation detail, not BDD structure)
Public Functions
-
virtual FZagalaSpecParseResult ParseFile(const FString &FilePath) const override#
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 override#
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.