コード例 #1
0
		protected override ProcessStartInfo GetProcessStartInfo(SelectedTests selectedTests)
		{
			NUnitConsoleApplication app = new NUnitConsoleApplication(selectedTests, options);
			testResultsMonitor = new TestResultsMonitor();
			app.Results = testResultsMonitor.FileName;
			return app.GetProcessStartInfo();
		}
コード例 #2
0
		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;
			}
		}
コード例 #3
0
 public AbstractRunTestCommand()
 {
     testResultsMonitor = new TestResultsMonitor();
     testResultsMonitor.TestFinished += TestFinished;
 }
コード例 #4
0
		public AbstractRunTestCommand()
		{
			testResultsMonitor = new TestResultsMonitor();
			testResultsMonitor.TestFinished += TestFinished;
		}