基于AHP的回归测试用例优先级排序方法  被引量:6

Test Case Prioritization Method Based on AHP for Regression Testing

在线阅读下载全文

作  者:冯沈峰 高建华[1] FENG Shen-feng;GAO Jian-hua(The College of Information,Mechanical and Electrical Engineering,Shanghai Normal University,Shanghai 200234,China)

机构地区:[1]上海师范大学信息与机电工程学院

出  处:《计算机科学》2019年第8期233-238,共6页Computer Science

基  金:国家自然科学基金项目(61672355)资助

摘  要:测试用例优先级排序方法是基于特定准则对测试用例进行排序以提高回归测试效率。现有方法局限于单目标或少数影响因素,影响了其对测试用例的综合分析和评价,对此,文中提出了一种基于层次分析法的回归测试用例优先级排序方法。该方法以优化测试用例序列为目标,以影响因素为准则,以测试用例为方案,建立了层次结构模型,构造了对比矩阵,进行了排序与一致性检验,优化了影响因素比例。实验采用Matlab软件环境,以平均故障检测率为评估指标。结果表明,与已有几种优先级方法相比,该方法能达到更高的平均故障检测率85%,提高了测试效率,此外可根据实际需求扩充影响因素数量,具有灵活性。Test case prioritization methods are based on specific criteria to sort test cases to improve the test efficiency.Considering that the existing techniques are limited to single objective or a few influencing factors,which affect the comprehensive analysis and evaluation of test cases,this paper proposed a test case prioritization method based on analytic hierarchy process.This method aims at optimizing test case sequence,takes the influencing factors as the criterion,and takes the test cases as schemes.It constructs hierarchical structure model and judgment matrices.Lastly,it sorts the test cases,carries out the consistency check,and optimizes the ratio of influencing factors.The experiment uses Matlab software and the APFD as the metric to evaluate.Experimental results show that compared with other existing prioritization methods,this method achieves higher APFD value of 85%and improves the test efficiency.In addition,according to actual requirements,it increases the number of influencing factors,so that it can be flexible.

关 键 词:测试用例优先级 影响因素 层次分析法 平均故障检测率 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象