public static void OnDiscoveryComplete(DiscoveryCompleteInfo info) { if (info.TestCasesToRun == 0) { throw new ArgumentException("Nothing to run, no tests were loaded"); } }
private void OnDiscoveryComplete(DiscoveryCompleteInfo info) { lock (this.announcementLock) { this.announcer(Invariant($" * Running {info.TestCasesToRun} of {info.TestCasesDiscovered} tests.")); } }
private static void OnDiscoveryComplete(DiscoveryCompleteInfo info) { lock (_consoleLock) { Console.WriteLine($"Running {info.TestCasesToRun} of {info.TestCasesDiscovered} tests..."); } }
private static void OnDiscoveryComplete(DiscoveryCompleteInfo info) { lock (ConsoleLock) { _discoveryInfo = info; WriteLine($"Running {info.TestCasesToRun} test cases of {info.TestCasesDiscovered} discovered:"); } }
private void DiscoveryCompleteHandler(DiscoveryCompleteInfo info) { logger.Info("### DISCOVERY COMPLETE ###"); logger.InfoFormat("Total number of tests (methods): {0}", info.TestCasesDiscovered); logger.InfoFormat("Number of selected tests (methods): {0}", info.TestCasesToRun); if (info.TestCasesToRun == 0) { // I ensured at beginning of Execute method that testsToRun is not empty // thus this case shouldn't occur // I tried implementing by using just cancellation here, // but it has some issues logger.Info("No tests to run"); // Note that ExecutionCompleteHandler does not get triggered // when there are no tests to be run unless if Cancel() is called runner.Cancel(); // Note that runner Status is not set to Idle if execution is canceled. executionCanceled = true; } }
private static void OnDiscoveryComplete(DiscoveryCompleteInfo info) { Log.Debug($"Running {info.TestCasesToRun} of {info.TestCasesDiscovered} tests..."); }
private void OnDiscoveryComplete(DiscoveryCompleteInfo obj) { lock (consoleLock) LambdaLogger.Log($"Running {obj.TestCasesToRun} of {obj.TestCasesDiscovered} tests...\n"); }
private static void OnDiscoveryComplete(DiscoveryCompleteInfo obj) { Console.WriteLine("Discovery complete: "); Console.WriteLine("Tests discovered: " + obj.TestCasesDiscovered); }
static void OnDiscoveryComplete(DiscoveryCompleteInfo info) { lock (_ConsoleLock) R($"Running {info.TestCasesToRun} of {info.TestCasesDiscovered} tests..."); }
private void OnTestSessionStart(DiscoveryCompleteInfo obj) { OnTestSessionStart(new TestSessionStart(DateTime.Now)); }
static void OnDiscoveryComplete(DiscoveryCompleteInfo info) { lock (consoleLock) telemetryClient.TrackTrace($"Running {info.TestCasesToRun} of {info.TestCasesDiscovered} tests...", SeverityLevel.Information); }
protected virtual void OnDiscoveryComplete(DiscoveryCompleteInfo info) { lock (sync) Console.WriteLine($"Running {info.TestCasesToRun} of {info.TestCasesDiscovered} tests..."); }
void DiscoveryCompleteHandler(DiscoveryCompleteInfo obj) { Console.WriteLine("Discovery Complete."); }
private static void OnDiscoveryComplete(DiscoveryCompleteInfo obj) { }
static void OnErrorMessage(DiscoveryCompleteInfo info) { lock (consoleLock) Console.WriteLine($"Running {info.TestCasesToRun} of {info.TestCasesDiscovered} tests..."); }
private static void DiscoveryComplete(DiscoveryCompleteInfo info) { Console.WriteLine("DiscoveryComplete."); }