public PlayerTestsPlayerImplementationRunner(Type playerTestFixtureType, Type playerImplementationType)
 {
     CheckTestFixtureType(playerTestFixtureType);
     _playerTestFixtureType = playerTestFixtureType;
     if (playerImplementationType == null)
     {
         throw new ArgumentNullException("playerImplementationType");
     }
     _testMethodsRetriever = new TestMethodsRetriever();
     _testFixtureRunner    = new TestFixtureRunner <TKata>(playerImplementationType);
 }
Beispiel #2
0
 public PlayerImplementationRunner(Type playerImplementationType, Type goldenTestType)
 {
     if (playerImplementationType == null)
     {
         throw new ArgumentNullException("playerImplementationType");
     }
     if (goldenTestType == null)
     {
         throw new ArgumentNullException("goldenTestType");
     }
     GoldenTestType        = goldenTestType;
     _testFixtureRunner    = new TestFixtureRunner <TKata>(playerImplementationType);
     _testMethodsRetriever = new TestMethodsRetriever();
 }