Ejemplo n.º 1
0
        public void Scenario(Token keyword, Token title)
        {
            var scenario = new Scenario(title.Content, file, currentFeature, keyword.LineInFile.Line);

            currentScenario = scenario;
            events.Enqueue(new ScenarioEvent(currentScenario, e =>
            {
                scenario.AddTags(e.Tags);
                ScenarioEvent.Invoke(this, new EventArgs <Scenario>(scenario));
            }));
        }