public TestRunner(IProcessHelper process, ITestCaseStreamReaderFactory testCaseStreamReaderFactory, IFileProbe fileProbe, IBatchCompilerService batchCompilerService, ITestHarnessBuilder testHarnessBuilder, ITestContextBuilder htmlTestFileCreator, IChutzpahTestSettingsService testSettingsService, ITransformProcessor transformProcessor, IChutzpahWebServerFactory webServerFactory, IUrlBuilder urlBuilder, IList <ITestExecutionProvider> testExecutionProviders) { this.urlBuilder = urlBuilder; this.process = process; this.testCaseStreamReaderFactory = testCaseStreamReaderFactory; this.fileProbe = fileProbe; this.batchCompilerService = batchCompilerService; this.testHarnessBuilder = testHarnessBuilder; stopWatch = new Stopwatch(); testContextBuilder = htmlTestFileCreator; this.testSettingsService = testSettingsService; this.transformProcessor = transformProcessor; this.webServerFactory = webServerFactory; this.testExecutionProviders = testExecutionProviders; }
public TestRunner(IProcessHelper process, ITestCaseStreamReaderFactory testCaseStreamReaderFactory, IFileProbe fileProbe, ITestContextBuilder htmlTestFileCreator, ICompilerCache compilerCache) { this.process = process; this.testCaseStreamReaderFactory = testCaseStreamReaderFactory; this.fileProbe = fileProbe; stopWatch = new Stopwatch(); testContextBuilder = htmlTestFileCreator; this.compilerCache = compilerCache; }
public PhantomTestExecutionProvider(IProcessHelper process, IFileProbe fileProbe, IUrlBuilder urlBuilder, ITestCaseStreamReaderFactory readerFactory) { this.processTools = process; this.fileProbe = fileProbe; this.urlBuilder = urlBuilder; this.headlessBrowserPath = fileProbe.FindFilePath(HeadlessBrowserName); if (headlessBrowserPath == null) { throw new FileNotFoundException("Unable to find headless browser: " + HeadlessBrowserName); } this.readerFactory = readerFactory; }
public TestRunner(IProcessHelper process, ITestCaseStreamReaderFactory testCaseStreamReaderFactory, IFileProbe fileProbe, IBatchCompilerService batchCompilerService, ITestHarnessBuilder testHarnessBuilder, ITestContextBuilder htmlTestFileCreator, ICompilerCache compilerCache, IChutzpahTestSettingsService testSettingsService) { this.process = process; this.testCaseStreamReaderFactory = testCaseStreamReaderFactory; this.fileProbe = fileProbe; this.batchCompilerService = batchCompilerService; this.testHarnessBuilder = testHarnessBuilder; stopWatch = new Stopwatch(); testContextBuilder = htmlTestFileCreator; this.compilerCache = compilerCache; this.testSettingsService = testSettingsService; }
public TestRunner(IProcessHelper process, ITestCaseStreamReaderFactory testCaseStreamReaderFactory, IFileProbe fileProbe, IBatchCompilerService batchCompilerService, ITestHarnessBuilder testHarnessBuilder, ITestContextBuilder htmlTestFileCreator, IChutzpahTestSettingsService testSettingsService, ITransformProcessor transformProcessor) { this.process = process; this.testCaseStreamReaderFactory = testCaseStreamReaderFactory; this.fileProbe = fileProbe; this.batchCompilerService = batchCompilerService; this.testHarnessBuilder = testHarnessBuilder; stopWatch = new Stopwatch(); testContextBuilder = htmlTestFileCreator; this.testSettingsService = testSettingsService; this.transformProcessor = transformProcessor; }
public NodeTestExecutionProvider(IProcessHelper process, IFileProbe fileProbe, IUrlBuilder urlBuilder, ITestCaseStreamReaderFactory readerFactory) { this.processTools = process; this.fileProbe = fileProbe; this.urlBuilder = urlBuilder; var path = Path.Combine("Node", Environment.Is64BitProcess ? "x64" : "x86", HeadlessBrowserName); this.headlessBrowserPath = fileProbe.FindFilePath(path); if (path == null) { throw new FileNotFoundException("Unable to find node: " + path); } this.readerFactory = readerFactory; isRunningElevated = process.IsRunningElevated(); }