public void Scenario(string keyword, string name, string description, GherkinBufferSpan headerSpan, GherkinBufferSpan descriptionSpan)
        {
            var currentScenario = new ScenarioBuilder(keyword, name, description, FlushTags(), GetFilePosition(headerSpan.StartPosition));

            stepProcessor = currentScenario;
            featureBuilder.AddScenario(currentScenario);
        }
示例#2
0
 public void scenario(string keyword, string name, string description, int line)
 {
     var currentScenario = new ScenarioBuilder(name, description, FlushTags(), new FilePosition(line));
     stepProcessor = currentScenario;
     featureBuilder.AddScenario(currentScenario);
 }
示例#3
0
 public void Scenario(string keyword, string name, string description, GherkinBufferSpan headerSpan, GherkinBufferSpan descriptionSpan)
 {
     var currentScenario = new ScenarioBuilder(keyword, name, description, FlushTags(), GetFilePosition(headerSpan.StartPosition));
     stepProcessor = currentScenario;
     featureBuilder.AddScenario(currentScenario);
 }