public DialectTest(SQLServerFixture sqlServerFixture) { _sqlServerFixture = sqlServerFixture; if (!TestContext.Travis && !TestContext.AppVeyor) { // AppVeyor and Windows 2016 does not support linux docker images sqlServerFixture.Start(fromScratch: true); } TestUtil.CreateTestDatabase(DbName, sqlServerFixture.DbUser, sqlServerFixture.DbPwd); }
public DialectTest(SQLServerFixture dbContainer) { _dbContainer = dbContainer; if (Local) { dbContainer.Run(fromScratch: true); } TestUtil.CreateSqlServerDatabase(DbName, _dbContainer.GetCnxStr("master")); }
public DialectTest(SQLServerFixture sqlServerContainer) { _sqlServerContainer = sqlServerContainer; if (TestContext.Local) { sqlServerContainer.Run(fromScratch: true); } TestUtil.CreateSqlServerDatabase(DbName, _sqlServerContainer.GetCnxStr("master")); }
public MigrationTest(SQLServerFixture dbContainer, ITestOutputHelper output) { _dbContainer = dbContainer; _output = output; if (Local) { dbContainer.Run(fromScratch: true); } TestUtil.CreateSqlServerDatabase(DbName, _dbContainer.GetCnxStr("master")); }
public CoreReflectionBasedDriverTest(MySQLFixture mySqlfixture, PostgreSqlFixture pgFixture, SQLServerFixture sqlServerFixture) { _mySqlfixture = mySqlfixture; _pgFixture = pgFixture; _sqlServerFixture = sqlServerFixture; if (!TestContext.AppVeyor) { // AppVeyor and Windows 2016 does not support linux docker images _mySqlfixture.Start(); _pgFixture.Start(); _sqlServerFixture.Start(); } }
public NetDriverTest(MySQLFixture mySqlfixture, PostgreSqlFixture pgFixture, SQLServerFixture sqlServerFixture, CassandraFixture cassandraFixture) { _mySqlfixture = mySqlfixture; _pgFixture = pgFixture; _sqlServerFixture = sqlServerFixture; _cassandraFixture = cassandraFixture; if (!TestContext.Travis && !TestContext.AppVeyor) { // AppVeyor and Windows 2016 does not support linux docker images _mySqlfixture.Start(); _pgFixture.Start(); _sqlServerFixture.Start(); _cassandraFixture.Start(); } }
public CliTest(PostgreSqlFixture pgContainer, MySQLFixture mySQLContainer, SQLServerFixture sqlServerContainer, CassandraFixture cassandraContainer, ITestOutputHelper output) { _pgContainer = pgContainer; _mySQLContainer = mySQLContainer; _sqlServerContainer = sqlServerContainer; _cassandraContainer = cassandraContainer; _output = output; if (TestContext.Local || TestContext.AzureDevOps) { pgContainer.Run(); sqlServerContainer.Run(); cassandraContainer.Run(); if (TestContext.Local) { mySQLContainer.Run(); } } }