Exemplo n.º 1
0
        static IntegrationTestsRuntime()
        {
            Environment = TestEnvironments.GetMachineSpecificOrDefaultTestEnvironment();

            if (Environment.IsAgainstCloudant() && !Environment.HasSupportFor(TestScenarios.Cloudant))
            {
                throw new NotSupportedException("The test environment's ServerClient and/or DbClient is configured to run against Cloudant, but the environment has no support for Cloudant.");
            }
        }
Exemplo n.º 2
0
 static IntegrationTestsRuntime()
 {
     Environment = TestEnvironments.GetMachineSpecificOrDefaultTestEnvironment();
 }