Exemple #1
0
 public DbContextExtensionsTests(ITestOutputHelper testOutputHelper)
     : base(dbContextOptions: EmployeeContextTestDbConnection.CreateDbContextOptions <EmployeeContext>(),
            databaseInitializer: new CreateDatabaseIfNotExists <EmployeeContext>(),
            log: testOutputHelper.WriteLine)
 {
     this.testOutputHelper = testOutputHelper;
 }
Exemple #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)
 {
 }
Exemple #4
0
 public ContextTestBaseTests_DbContextOptionsOnly()
     : base(dbContextOptions: EmployeeContextTestDbConnection.CreateDbContextOptions <TestContext>())
 {
 }