首页> 外文会议>Asia-Pacific Software Engineering Conference >A Regression Test Case Prioritization Algorithm Based on Program Changes and Method Invocation Relationship
【24h】

A Regression Test Case Prioritization Algorithm Based on Program Changes and Method Invocation Relationship

机译:基于程序变更和方法调用关系的回归测试用例优先排序算法

获取原文

摘要

Regression testing is essential for assuring the quality of a software product. Because rerunning all test cases in regression testing may be impractical under limited resources, test case prioritization is a feasible solution to optimize regression testing by reordering test cases for the current testing version. In this paper, we propose a new test case prioritization algorithm based on program changes and method (function) invocation relationship. Combining the estimated risk value of each program method (function) and the method (function) coverage information, the fault detection capability of each test case can be calculated. The algorithm reduces the prioritization problem to an integer linear programming (ILP) problem, and finally prioritizes test cases according to their fault detection capabilities. Experiments are conducted on 11 programs to validate the effectiveness of our proposed algorithm. Experimental results show that our approach is more effective than some well studied test case prioritization techniques in terms of average percentage of fault detected (APFD) values.
机译:回归测试对于确保软件产品的质量至关重要。因为在有限的资源下,在回归测试中重新运行所有测试用例可能是不切实际的,所以通过对当前测试版本的测试用例进行重新排序,测试用例的优先级排序是优化回归测试的可行解决方案。在本文中,我们提出了一种基于程序更改和方法(函数)调用关系的测试用例优先排序算法。结合每个程序方法(功能)的估计风险值和方法(功能)覆盖范围信息,可以计算每个测试用例的故障检测能力。该算法将优先级排序问题简化为整数线性规划(ILP)问题,并最终根据测试用例的故障检测能力对其进行优先级排序。在11个程序上进行了实验,以验证我们提出的算法的有效性。实验结果表明,就平均故障检测百分比(APFD)值而言,我们的方法比一些经过充分研究的测试案例优先级排序技术更有效。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号