protected override ProcessStartInfo GetProcessStartInfo(SelectedTests selectedTests) { NUnitConsoleApplication app = new NUnitConsoleApplication(selectedTests, options); testResultsMonitor = new TestResultsMonitor(); app.Results = testResultsMonitor.FileName; return app.GetProcessStartInfo(); }
public override void Stop() { if (this.runner != null && this.runner.Profiler.IsRunning) { LoggingService.Info("stopping profiler..."); runner.Stop(); } if (testResultsMonitor != null) { testResultsMonitor.Stop(); testResultsMonitor.Read(); testResultsMonitor = null; } }
public AbstractRunTestCommand() { testResultsMonitor = new TestResultsMonitor(); testResultsMonitor.TestFinished += TestFinished; }