예제 #1
0
 public TestExecutionContext(ITestExecutionMonitor monitor, TestExecutionOptions options)
 {
     _monitor     = monitor;
     _options     = options;
     _runSettings = new RunSettings(string.IsNullOrEmpty(options.RunSettingsPath) ? null : File.ReadAllText(options.RunSettingsPath));
 }
예제 #2
0
 public int Initialize()
 {
     _monitor = OperationContext.Current.GetCallbackChannel <ITestExecutionMonitor>();
     new Thread(MonitorDebugger).Start();
     return(Process.GetCurrentProcess().Id);
 }