Exemple #1
0
 public TastyServer RegisterReporter(AsyncTestSummaryReporter reporter)
 {
     summaryReporters.Add(reporter);
     return(this);
 }
Exemple #2
0
 /// <summary>
 /// Registers an async test summary reporter.
 /// Gets called after all tests are executed.
 /// <see cref="AsyncTestSummaryReporter"/>
 /// </summary>
 /// <param name="summaryReporter">The reporter.</param>
 /// <returns>TastyScope.</returns>
 public static TastyScope RegisterReporter(AsyncTestSummaryReporter summaryReporter)
 => TastyDefaultScope.RegisterReporter(summaryReporter);