Пример #1
0
 public DotnetTestRunner(string path, IProcessExecutor processProxy, ITotalNumberOfTestsParser totalNumberOfTestsParser, OptimizationFlags flags)
 {
     _totalNumberOfTestsParser = totalNumberOfTestsParser;
     _flags          = flags;
     Path            = path;
     ProcessExecutor = processProxy;
     CoverageMutants = new TestCoverageInfos();
 }
Пример #2
0
 public DotnetTestRunner(string path, IProcessExecutor processProxy, OptimizationFlags flags, IEnumerable<string> testBinariesPaths)
 {
     _logger = ApplicationLogging.LoggerFactory.CreateLogger<DotnetTestRunner>();
     _flags = flags;
     _projectFile = path;
     _processExecutor = processProxy;
     CoverageMutants = new TestCoverageInfos();
     _testBinariesPaths = testBinariesPaths;
 }
Пример #3
0
        public DotnetTestRunner(string path, IProcessExecutor processProxy, OptimizationFlags flags, ILogger logger = null)
        {
            _logger = logger ?? ApplicationLogging.LoggerFactory.CreateLogger <DotnetTestRunner>();

            _flags           = flags;
            _path            = Path.GetDirectoryName(FilePathUtils.ConvertPathSeparators(path));
            _processExecutor = processProxy;
            CoverageMutants  = new TestCoverageInfos();
        }