Example #1
0
 private static bool TestFailed(TestExecutionContext context)
 {
     return(UnsuccessfulResultStates.Contains(context.CurrentResult.ResultState));
 }
Example #2
0
 /// <summary>
 /// This method is used to validate the result of the execution and return if it failed
 /// </summary>
 /// <param name="context"></param>
 /// <returns></returns>
 private bool TestFailed(TestExecutionContext context)
 {
     //  localRetryTimes = localRetryTimes - 1;
     return(UnsuccessfulResultStates.Contains(context.CurrentResult.ResultState));
 }