Class FZagalaSpecFitNesseExporter#
Defined in File ZagalaSpecFitNesseExporter.h
Inheritance Relationships#
Base Type#
public IZagalaSpecBDDExporter(Class IZagalaSpecBDDExporter)
Class Documentation#
-
class FZagalaSpecFitNesseExporter : public IZagalaSpecBDDExporter#
Exports a feature to FitNesse Script Table wiki markup (.wiki).
Each scenario becomes a Script Table block with given/when/then keyword rows. The Format parameter is accepted for interface uniformity but is not used (FitNesse always uses lowercase keywords in Script Tables).
Note
Export() and ExportToFile() are provided by IZagalaSpecBDDExporter.
Public Functions
-
virtual FString ExportFromIR(const FZagalaSpecFeatureIR &ImportedFeature, EZagalaSpecExportFormat Format) const override#
Export an FZagalaSpecFeatureIR IR struct to a format-specific text string.
All concrete exporters implement this as the primary conversion path. The base Export() default routes through this method via the .zagalaspec intermediate.
- Parameters:
ImportedFeature – Feature IR to export.
Format – Target export format.
- Returns:
The exported text.
-
virtual FString GenerateTextFeatureFromIR(const FZagalaSpecFeatureIR &ImportedFeature, EZagalaSpecExportFormat &Format) const override#
Generate the complete format-specific text of a feature IR.
- Parameters:
ImportedFeature – Feature IR to convert.
Format – Target export format.
- Returns:
The generated feature text.
-
virtual FString GenerateTextScenariosFromIR(const FZagalaSpecFeatureIR &ImportedFeature) const override#
Generate the format-specific text of every scenario in a feature IR.
- Parameters:
ImportedFeature – Feature IR whose scenarios are converted.
- Returns:
The concatenated scenario text.
-
virtual FString GenerateTextStepFromIR(const FZagalaSpecStepIR &Step) const override#
Generate the format-specific text of a single step IR.
- Parameters:
Step – Step IR to convert.
- Returns:
The generated step text.
-
virtual FString ExportFromIR(const FZagalaSpecFeatureIR &ImportedFeature, EZagalaSpecExportFormat Format) const override#