Esempio n. 1
0
 public DbContextExtensionsTests(ITestOutputHelper testOutputHelper)
     : base(dbContextOptions: EmployeeContextTestDbConnection.CreateDbContextOptions <EmployeeContext>(),
            databaseInitializer: new CreateDatabaseIfNotExists <EmployeeContext>(),
            log: testOutputHelper.WriteLine)
 {
     this.testOutputHelper = testOutputHelper;
 }
Esempio n. 2
0
 public DbContextBaseTests()
     : base(dbContextOptions: EmployeeContextTestDbConnection.CreateDbContextOptions <EmployeeContext>())
 {
     AssemblyLoader.Current = new TestAssemblyLoader();
 }
 public DataSeedIntegrationTests(ITestOutputHelper testOutputHelper)
     : base(dbContextOptions: EmployeeContextTestDbConnection.CreateDbContextOptions <EmployeeContext>(),
            databaseInitializer: null,
            log: testOutputHelper.WriteLine)
 {
 }
Esempio n. 4
0
 public ContextTestBaseTests_DbContextOptionsOnly()
     : base(dbContextOptions: EmployeeContextTestDbConnection.CreateDbContextOptions <TestContext>())
 {
 }