Ejemplo n.º 1
0
 public DotnetTestRunner(string path, IProcessExecutor processProxy, ITotalNumberOfTestsParser totalNumberOfTestsParser, OptimizationFlags flags)
 {
     _totalNumberOfTestsParser = totalNumberOfTestsParser;
     _flags          = flags;
     Path            = path;
     ProcessExecutor = processProxy;
     CoverageMutants = new TestCoverageInfos();
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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();
        }