Exemple #1
0
 public void OnTestLifeTimeAction(ApexTest testClass, Type classType, TestLifeTimeAction action)
 {
     if (action == TestLifeTimeAction.PostTestCleanup)
     {
         _lastTest = testClass as TestBase;
     }
 }
 public void OnTestLifeTimeAction(ApexTest testClass, Type classType, TestLifeTimeAction action)
 {
     if (action == TestLifeTimeAction.PreTestInitialize)
     {
         Log.ResetLog($"{testClass.GetType().Name}.{testClass.TestContext.TestName}");
     }
 }