public void Handle(ScenarioStarting eventToHandle) { var id = eventToHandle.Scenario.Id; _remoteTask = FindScenarioTask(id); _server.TaskStarting(_remoteTask); if (_remoteTask == null) { return; } var outline = FindOutline(_remoteTask); if (outline != null && outline.IsFirstChild(((RunScenarioTask)_remoteTask).GetScenario().Id)) { _server.TaskStarting(outline); } }
public void Handle(ScenarioStarting eventToHandle) { var message = Format(TestStartedMessagePattern, eventToHandle.Scenario.Name); SendTeamCityServiceMessage(message); }
public void Handle(ScenarioStarting eventToHandle) { _mruTypes = new List <Type>(); }
public void Handle(ScenarioStarting eventToHandle) { DoWrite(ConsoleColor.White, "\r\nSCENARIO: " + eventToHandle.Scenario.Name); }
public void Handle(ScenarioStarting eventToHandle) { _currentScenarioElement = _doc.CreateElement(XmlNames.Scenario); _currentStoryElement.AppendChild(_currentScenarioElement); }