我没有得到100%的代码涵盖,并希望。除非我看到100%的绿色,我想知道我忘记测试和去打猎,只是为了找出愚蠢的东西,基于工具,而不是我的测试,使我从它。后来我忘记了,不得不冲洗/重复。虽然由于异常,所有路径都包含在testThrow中,但不计算为run。 throw new Exception();}
public
我已经实现了IRetryAnalyzer来在我的testNG类中重新运行失败的测试用例。method has to be retried else 'false'
//and it takes the 'Result' as parameter of the test method that@Test(priority = 4, enabled = true,dependsOnMethods