Class FZagalaSpecScenarioStepsSectionBuilder#

Inheritance Relationships#

Base Type#

Class Documentation#

class FZagalaSpecScenarioStepsSectionBuilder : public IZagalaSpecDocumentSectionBuilder#

Builds the steps of a scenario.

When the scenario has at least one context extension, the context extensions are shown under a “Context Extensions:” header and the expectations under an “Expectations:” header. Otherwise only the expectations are shown, directly under the scenario.

Reads the scenario through IZagalaSpecScenarioInterface and publishes where each step lives through IZagalaSpecScenarioPropertyNames.

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.