public ITestRunner CreateTestDebugger() { NUnitTestDebugger testDebugger = new NUnitTestDebugger(debuggerService, messageService, testResultsMonitor, options); testDebuggersCreated.Add(testDebugger); return testDebugger; }
public void Init() { selectedTests = SelectedTestsHelper.CreateSelectedTestMember(); FileUtility.ApplicationRootPath = @"C:\SharpDevelop"; messageService = new MockMessageService(); debuggerService = new MockDebuggerService(); debugger = debuggerService.MockDebugger; testResultsMonitor = new MockTestResultsMonitor(); testResultsMonitor.FileName = @"c:\temp\tmp66.tmp"; options = new UnitTestingOptions(new Properties()); options.NoShadow = true; testDebugger = new NUnitTestDebugger(debuggerService, messageService, testResultsMonitor, options); }
public void Init() { context = new MockRunTestCommandContext(); processRunner = new MockProcessRunner(); debuggerService = new MockDebuggerService(); testFramework = new MockNUnitTestFramework(debuggerService, processRunner, context.MockTestResultsMonitor, context.UnitTestingOptions, context.MessageService); testRunner = testFramework.CreateTestRunner() as NUnitTestRunner; testDebugger = testFramework.CreateTestDebugger() as NUnitTestDebugger; }