예제 #1
0
 public void SetUp()
 {
     _console = new ConsoleInterceptor();
     _subject = SimplifiedConsoleProgressNotifier.GetInstance();
     _subject.Reset();
 }
예제 #2
0
 /// <summary>
 /// Creates progress notifier used later by BDDRunner.
 /// XUnit implementation returns XUnitOutputProgressNotifier.
 /// </summary>
 /// <returns>progress notifier.</returns>
 protected virtual IProgressNotifier CreateProgressNotifier()
 {
     return(new DelegatingProgressNotifier(new XUnitOutputProgressNotifier(Output), SimplifiedConsoleProgressNotifier.GetInstance()));
 }