西南大学学报(自然科学版)
西南大學學報(自然科學版)
서남대학학보(자연과학판)
JOURNAL OF SOUTHWEST AGRICULTURAL UNIVERSITY(NATURAL SCIENCE)
2015年
4期
55-61
,共7页
Additional策略%AdditionalUL策略%回归测试%测试用例优先级排序%标签
Additional策略%AdditionalUL策略%迴歸測試%測試用例優先級排序%標籤
Additional책략%AdditionalUL책략%회귀측시%측시용례우선급배서%표첨
Additional strategy%AdditionalUL strategy%regression testing%test case prioritization%label
Additional策略被广泛应用于测试用例的优先级排序,其排序结果与其他方法相比,具有较好的错误检测速率。但当遇到具有相同代码覆盖率的测试用例时,Additional策略采用随机选择方式,该方式降低了排序效果。基于此提出一种新的带使用标签的Additional策略,简称AdditionalUL策略。新策略根据捕捉到的测试用例的执行信息为测试用例添加标签,设定测试用例的优先级,以此优化排序效果。分别使用Additional策略与AdditionalUL 策略对多组程序的测试用例集排序,并利用APFD评测指标衡量排序结果,实验表明,改进后的方法能够提高Addi‐tional策略的排序效果,具有更高的错误检测速率。
Additional策略被廣汎應用于測試用例的優先級排序,其排序結果與其他方法相比,具有較好的錯誤檢測速率。但噹遇到具有相同代碼覆蓋率的測試用例時,Additional策略採用隨機選擇方式,該方式降低瞭排序效果。基于此提齣一種新的帶使用標籤的Additional策略,簡稱AdditionalUL策略。新策略根據捕捉到的測試用例的執行信息為測試用例添加標籤,設定測試用例的優先級,以此優化排序效果。分彆使用Additional策略與AdditionalUL 策略對多組程序的測試用例集排序,併利用APFD評測指標衡量排序結果,實驗錶明,改進後的方法能夠提高Addi‐tional策略的排序效果,具有更高的錯誤檢測速率。
Additional책략피엄범응용우측시용례적우선급배서,기배서결과여기타방법상비,구유교호적착오검측속솔。단당우도구유상동대마복개솔적측시용례시,Additional책략채용수궤선택방식,해방식강저료배서효과。기우차제출일충신적대사용표첨적Additional책략,간칭AdditionalUL책략。신책략근거포착도적측시용례적집행신식위측시용례첨가표첨,설정측시용례적우선급,이차우화배서효과。분별사용Additional책략여AdditionalUL 책략대다조정서적측시용례집배서,병이용APFD평측지표형량배서결과,실험표명,개진후적방법능구제고Addi‐tional책략적배서효과,구유경고적착오검측속솔。
Additional strategy has been widely used in the area of test case prioritization .The sorted results based on it have better error detection rates than other approaches .However ,the test cases are ranked ran‐domly if they have the same program coverage based on Additional strategy .Such randomization reduces the effectiveness of the sorted results .With this observation in mind ,the authors of this paper propose a new Additional strategy with usage label ,abbreviated as AdditionalUL strategy .The new strategy adds tags to the test cases according to their executive information ,and then sets the priorities of the test cases . Additional strategy and AdditioanlUL strategy are used to sort the test cases of multiple programs ,respec‐tively ,and evaluate the sorted results based on APFD .Experimental results show that the strategy pro‐posed herein can improve the effectiveness of the sorted results of Additional strategy and has a higher er‐ror finding rate .