Esempio n. 1
0
 public void StepExit(Step step, StepResult stepResult)
 {
     if (stepResult.Name.StartsWith(@"Given", StringComparison.OrdinalIgnoreCase))
     {
         logger.WriteLine(string.Empty);
     }
     logger.WriteLine(string.Format("\t{0} {1} {2}",
         stepResult.Name,
         stepResult.Success.HasValue
             ? (stepResult.Success.Value ? @"PASSED" : @"FAILED")
             : string.Empty,
         stepResult.Elapsed.HasValue
             ? stepResult.Elapsed.Value.TotalMilliseconds.ToString(@"F1") + @"ms"
             : null));
 }
Esempio n. 2
0
 public void StepEnter(Step step)
 {
 }