基于 AdditionalUL 策略的回归测试用例优先级排序
Regression Test Case Prioritization Based on AdditionalUL Strategy
-
摘要: Additional策略被广泛应用于测试用例的优先级排序,其排序结果与其他方法相比,具有较好的错误检测速率。但当遇到具有相同代码覆盖率的测试用例时,Additional策略采用随机选择方式,该方式降低了排序效果。基于此提出一种新的带使用标签的Additional策略,简称AdditionalUL策略。新策略根据捕捉到的测试用例的执行信息为测试用例添加标签,设定测试用例的优先级,以此优化排序效果。分别使用Additional策略与AdditionalUL 策略对多组程序的测试用例集排序,并利用APFD评测指标衡量排序结果,实验表明,改进后的方法能够提高Addi‐tional策略的排序效果,具有更高的错误检测速率。
-
关键词:
- Additional策略 /
- AdditionalUL策略 /
- 回归测试 /
- 测试用例优先级排序 /
- 标签
Abstract: 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 . -
-
计量
- 文章访问数: 865
- HTML全文浏览数: 394
- PDF下载数: 349
- 施引文献: 0