Ejemplo n.º 1
0
 /// <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);
     }
 }
Ejemplo n.º 2
0
 /// <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);
     }
 }
Ejemplo n.º 3
0
 /// <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} */");
 }
Ejemplo n.º 4
0
 /// <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}...");
 }
Ejemplo n.º 5
0
 public void NotifyStepComment(IStepInfo step, string comment)
 {
     _notifier.NotifyStepComment(step, comment);
 }
Ejemplo n.º 6
0
 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)}");
 }
Ejemplo n.º 10
0
 public void NotifyStepComment(IStepInfo step, string comment)
 {
 }
Ejemplo n.º 11
0
 public void NotifyStepStart(IStepInfo step)
 {
 }