public void CanMigrateSingleTable() { _sqlTarget = new SqlServerUnitTest(); _sqlTarget.Setup(); ExecuteSql("CREATE TABLE Foo ( Id Int )"); new SchemaMigratorConsole( "/db", "SqlServer", "/connection", ConnectionString, "/destdb", "SqlServer", "/destconnection", _sqlTarget.ConnectionString, "/workingdirectory", _testFolder); Assert.That(Environment.ExitCode == 0); }
public void TestFixtureSetUp() { _source = new SqlServerUnitTest(); _source.TestFixtureSetUp(); _destination = new SqlServerUnitTest {DeleteOldDatabases = false}; _destination.TestFixtureSetUp(); }
public void TestFixtureSetUp() { _sqlContext = new SqlServerUnitTest(); _oracleContext = new OracleUnitTest(); _sqlContext.TestFixtureSetUp(); _oracleContext.TestFixtureSetUp(); OracleContext = _oracleContext; }