Example #1
0
 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();
 }
Example #2
0
 public TestUtility(DatabaseFixture fixture)
 {
     _fixture = fixture;
 }