public override void Before(MethodInfo methodUnderTest)
 {
     // Must be called synchronously. Otherwise, the test will start then
     // ResetDatabase() may complete in the middle of the test.
     DatabaseFixture.ResetDatabase(DatabaseFixture.FullResetCheckpoint).GetAwaiter().GetResult();
 }
Exemple #2
0
 public TestUtility(DatabaseFixture fixture)
 {
     _fixture = fixture;
 }