public NorthwindDbFixture()
 {
     //DataSource=:memory: makes Sqlite use in memory
     DbNorthwindStartup.Init(new SqliteDbSettings("Data Source=:memory:;"));
     //Let's run this which will create our database and change our mapping names
     Setup = new NorthwindSetup("build_northwind.sql", "Northwind.Models");
 }
Пример #2
0
 public BasicTests(ITestOutputHelper output, NorthwindDbFixture fixture)
 {
     _setup  = fixture.Setup;
     _output = output;
 }