场景:在集成测试期间要测试的负面场景之下。目前测试用例因退出而失败并且没有达到测试方法。
例子 :
private void method1(int a){
try{
if(a == 0){
throw exception();
}else{
---
}
}catch(exceptionclass e){
System.exit(1);
}
}
场景:在集成测试期间要测试的负面场景之下。目前测试用例因退出而失败并且没有达到测试方法。
例子 :
private void method1(int a){
try{
if(a == 0){
throw exception();
}else{
---
}
}catch(exceptionclass e){
System.exit(1);
}
}