Example #1
0
 private IVsTestConsoleWrapper PrepareVsTestConsole()
 {
     return(new VsTestConsoleWrapper(_vsTestHelper.GetCurrentPlatformVsTestToolPath(), new ConsoleParameters
     {
         TraceLevel = DetermineTraceLevel(),
         LogFilePath = Path.Combine(_options.BasePath, "StrykerOutput", "logs", "vstest-log.txt")
     }));
 }
Example #2
0
        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
            }));
        }
Example #3
0
        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
            }));
        }