Table of Contents

Class GherkinIngester

Namespace
Cress.Gherkin
Assembly
Cress.Gherkin.dll

Parses a Gherkin .feature file back into a CressFlow. Uses the PhraseLibrary for reverse-lookup of step text → step op.

public sealed class GherkinIngester
Inheritance
GherkinIngester
Inherited Members

Constructors

GherkinIngester(PhraseLibrary)

public GherkinIngester(PhraseLibrary library)

Parameters

library PhraseLibrary

Methods

Ingest(string)

Parse the given .feature text and return a CressFlow. Only the first Scenario block is processed (multi-scenario is V11).

public CressFlow Ingest(string featureText)

Parameters

featureText string

Returns

CressFlow