Example #1
0
 public TastyServer RegisterReporter(AsyncTestReporter reporter)
 {
     reporters.Add(reporter);
     return(this);
 }
Example #2
0
 /// <summary>
 /// Registers an async test reporter.
 /// Gets called immediate after the test was executed
 /// <see cref="AsyncTestReporter"/>
 /// </summary>
 /// <param name="reporter">The reporter.</param>
 /// <returns>TastyScope.</returns>
 public static TastyScope RegisterReporter(AsyncTestReporter reporter)
 => TastyDefaultScope.RegisterReporter(reporter);