public TestsSourceLoader(ITestLoadStrategy testLoadStrategy, string path, string wildcard = null)
 {
     _testLoadStrategy = testLoadStrategy ?? throw new ArgumentNullException(nameof(testLoadStrategy));
     _path             = path ?? throw new ArgumentNullException(nameof(path));
     _wildcard         = wildcard;
 }
Example #2
0
 public DirectoryTestsSourceLoader(ITestLoadStrategy testLoadStrategy, string directory, string wildcard = null)
 {
     _testLoadStrategy = testLoadStrategy ?? throw new ArgumentNullException(nameof(testLoadStrategy));
     _directory        = directory ?? throw new ArgumentNullException(nameof(directory));
     _wildcard         = wildcard;
 }