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); }
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); }