/// <summary> /// Notifies that step has been commented. /// </summary> /// <param name="step">Step info.</param> /// <param name="comment">Comment.</param> public void NotifyStepComment(IStepInfo step, string comment) { foreach (var notifier in _notifiers) { notifier.NotifyStepComment(step, comment); } }
/// <summary> /// Notifies that step has started. /// </summary> /// <param name="step">Step info.</param> public void NotifyStepStart(IStepInfo step) { foreach (var notifier in _notifiers) { notifier.NotifyStepStart(step); } }
/// <summary> /// Notifies that step has been commented. /// </summary> /// <param name="step">Step info.</param> /// <param name="comment">Comment.</param> public void NotifyStepComment(IStepInfo step, string comment) { _onNotify($" STEP {step.GroupPrefix}{step.Number}/{step.GroupPrefix}{step.Total}: /* {comment} */"); }
/// <summary> /// Notifies that step has started. /// </summary> /// <param name="step">Step info.</param> public void NotifyStepStart(IStepInfo step) { _onNotify($" STEP {step.GroupPrefix}{step.Number}/{step.GroupPrefix}{step.Total}: {step.Name}..."); }
public void NotifyStepComment(IStepInfo step, string comment) { _notifier.NotifyStepComment(step, comment); }
public void NotifyStepStart(IStepInfo step) { _notifier.NotifyStepStart(step); }
private string FormatStep(IStepInfo step) { return($"{step.GroupPrefix}{step.Number}/{step.GroupPrefix}{step.Total} {step.Name}"); }
public void NotifyStepComment(IStepInfo step, string comment) { _notifications.Add($"Step {step.GroupPrefix}{step.Number}/{step.GroupPrefix}{step.Total} Comment: {comment}"); }
public void NotifyStepStart(IStepInfo step) { _notifications.Add($"Step Start: {FormatStep(step)}"); }
public void NotifyStepComment(IStepInfo step, string comment) { }
public void NotifyStepStart(IStepInfo step) { }