private IVsTestConsoleWrapper PrepareVsTestConsole() { return(new VsTestConsoleWrapper(_vsTestHelper.GetCurrentPlatformVsTestToolPath(), new ConsoleParameters { TraceLevel = DetermineTraceLevel(), LogFilePath = Path.Combine(_options.BasePath, "StrykerOutput", "logs", "vstest-log.txt") })); }
private IVsTestConsoleWrapper PrepareVsTestConsole() { var logPath = FilePathUtils.ConvertPathSeparators(Path.Combine(_options.OutputPath, "vstest", "vstest-log.txt")); _fileSystem.Directory.CreateDirectory(Path.GetDirectoryName(logPath)); return(new VsTestConsoleWrapper(_vsTestHelper.GetCurrentPlatformVsTestToolPath(), new ConsoleParameters { TraceLevel = DetermineTraceLevel(), LogFilePath = logPath })); }
private IVsTestConsoleWrapper PrepareVsTestConsole() { var vstestLogPath = Path.Combine(_options.OutputPath, "logs", "vstest-log.txt"); _fileSystem.Directory.CreateDirectory(Path.GetDirectoryName(vstestLogPath)); _logger.LogDebug("Logging vstest output to: {0}", vstestLogPath); return(new VsTestConsoleWrapper(_vsTestHelper.GetCurrentPlatformVsTestToolPath(), new ConsoleParameters { TraceLevel = DetermineTraceLevel(), LogFilePath = vstestLogPath })); }