protected override SpecFlowDocument ParseContent(IGherkinParser parser, TextReader contentReader, SpecFlowDocumentLocation documentLocation) { var document = base.ParseContent(parser, contentReader, documentLocation); return(_externalDataFeaturePatcher.PatchDocument(document)); }
protected override SpecFlowDocument ParseContent(IGherkinParser parser, TextReader contentReader, SpecFlowDocumentLocation documentLocation) { var doc = base.ParseContent(parser, contentReader, documentLocation); var children = doc.SpecFlowFeature.Children.Select(c => ProcessScenarioDefinition(c, doc)); return(doc.Clone(doc.SpecFlowFeature.Clone(children: children))); }
protected override SpecFlowDocument ParseContent(IGherkinParser parser, TextReader contentReader, SpecFlowDocumentLocation documentLocation) { var document = base.ParseContent(parser, contentReader, documentLocation); document = _includeExternalDataTransformation.TransformDocument(document); return(document); }
protected virtual SpecFlowDocument ParseContent(IGherkinParser parser, TextReader contentReader, SpecFlowDocumentLocation documentLocation) { return(parser.Parse(contentReader, documentLocation)); }