public TestMinimizer(bool debug, int numThreads)
 {
     _debug = debug;
     _numThreads = numThreads;
     _testStrategies = new List<ITestIdentifier> {new NUnitTestIdentifier(), new MSTestTestIdentifier(), new mSpecTestIdentifier(), new XUnitTestIdentifier(), new SimpleTestingTestIdentifier()};
     _cache = new CouplingCache(_testStrategies);
 }
 public GraphBuilder(CouplingCache cache, IEnumerable<ITestIdentifier> testStrategies, IInterfaceFollowingStrategy interfaceFollowingStrategy, bool isDebug, int numThreads)
 {
     _debugTreeWalks = isDebug;
     _numthreads = numThreads;
     if (isDebug) _numthreads = 1;
     _cache = cache;
     _interfaceFollowingStrategy = interfaceFollowingStrategy;
     _testStrategies = testStrategies;
 }
Example #3
0
 public TestMinimizer(bool debug, int numThreads)
 {
     _debug          = debug;
     _numThreads     = numThreads;
     _testStrategies = new List <ITestIdentifier> {
         new NUnitTestIdentifier(), new MSTestTestIdentifier(), new mSpecTestIdentifier(), new XUnitTestIdentifier(), new SimpleTestingTestIdentifier()
     };
     _cache = new CouplingCache(_testStrategies);
 }
Example #4
0
 public GraphBuilder(CouplingCache cache, IEnumerable <ITestIdentifier> testStrategies, IInterfaceFollowingStrategy interfaceFollowingStrategy, bool isDebug, int numThreads)
 {
     _debugTreeWalks = isDebug;
     _numthreads     = numThreads;
     if (isDebug)
     {
         _numthreads = 1;
     }
     _cache = cache;
     _interfaceFollowingStrategy = interfaceFollowingStrategy;
     _testStrategies             = testStrategies;
 }
 public CouplingCacheTestInformationEnricher(CouplingCache cache)
 {
     _cache = cache;
 }
 public CouplingCacheTestInformationEnricher(CouplingCache cache)
 {
     _cache = cache;
 }