Class FZagalaSpecScenarioHeaderSectionBuilder#
Inheritance Relationships#
Base Type#
public IZagalaSpecDocumentSectionBuilder(Class IZagalaSpecDocumentSectionBuilder)
Class Documentation#
-
class FZagalaSpecScenarioHeaderSectionBuilder : public IZagalaSpecDocumentSectionBuilder#
Builds the header of a scenario: the “@Scenario.Tag” line and the “Scenario: Title” line (with a “(disabled)” hint when the scenario is excluded from tests).
The title is the leaf of the scenario tag. The scenario description is not shown.
Reads the scenario through IZagalaSpecDescriptor and IZagalaSpecTestabilityIndicator.
IZagalaSpecDocumentSectionBuilder interface
-
virtual FName GetId() const override#
Identifies the section inside a layout.
Must be unique inside the layout.
- Returns:
The section id (see ZagalaSpecDocumentSectionIds for the default ones).
-
virtual void Build(const FZagalaSpecDocumentBuildContext &Context, TArray<FZagalaSpecDocumentRowPtr> &OutRows) const override#
Appends the rows of this section.
- Parameters:
Context – The feature (and scenario) the rows are built for.
OutRows – The rows built so far; the section appends its own rows at the end.
-
virtual FName GetId() const override#