Exemplo n.º 1
0
        protected override SpecFlowDocument ParseContent(IGherkinParser parser, TextReader contentReader,
                                                         SpecFlowDocumentLocation documentLocation)
        {
            var document = base.ParseContent(parser, contentReader, documentLocation);

            return(_externalDataFeaturePatcher.PatchDocument(document));
        }
Exemplo n.º 2
0
        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)));
        }
Exemplo n.º 3
0
        protected override SpecFlowDocument ParseContent(IGherkinParser parser, TextReader contentReader,
                                                         SpecFlowDocumentLocation documentLocation)
        {
            var document = base.ParseContent(parser, contentReader, documentLocation);

            document = _includeExternalDataTransformation.TransformDocument(document);
            return(document);
        }
Exemplo n.º 4
0
 protected virtual SpecFlowDocument ParseContent(IGherkinParser parser, TextReader contentReader, SpecFlowDocumentLocation documentLocation)
 {
     return(parser.Parse(contentReader, documentLocation));
 }