fix(测试计划): 执行进度计算有误
This commit is contained in:
parent
fe28bcc27d
commit
501be1b6b3
|
@ -89,7 +89,7 @@ public class TestPlanStatisticsResponse {
|
|||
}
|
||||
|
||||
public void calculateExecuteRate() {
|
||||
this.executeRate = RateCalculateUtils.divWithPrecision(this.successCount - this.pendingCount, this.caseTotal, 2);
|
||||
this.executeRate = RateCalculateUtils.divWithPrecision(this.caseTotal - this.pendingCount, this.caseTotal, 2);
|
||||
}
|
||||
|
||||
public void calculateAllNumber(TestPlanStatisticsResponse childResponse) {
|
||||
|
|
Loading…
Reference in New Issue