fix(测试计划): 执行进度计算有误

This commit is contained in:
song-cc-rock 2024-07-10 17:00:38 +08:00 committed by 刘瑞斌
parent fe28bcc27d
commit 501be1b6b3
1 changed files with 1 additions and 1 deletions

View File

@ -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) {