Beispiel #1
0
        public TestDbFixture()
        {
            const string scriptFileName = "migrationGeneratedSql-2019-04-24T153851-US-Production.sql"; // "testdb.sql"

            //DataSource=:memory: makes Sqlite use in memory
            TestDbStartup.Init(new SqliteDbSettings("Data Source=:memory:;"));
            //Let's run this which will create our database and change our mapping names
            Setup = new TestDbSetup(scriptFileName, "DataAccess.DataModelResearch");
        }
Beispiel #2
0
 public BasicTests(ITestOutputHelper output, TestDbFixture fixture)
 {
     _setup  = fixture.Setup;
     _output = output;
 }