电子学报2012,Vol.40Issue(12):2456-2465,10.DOI:10.3969/j.issn.0372-2112.2012.12.017
基于复杂软件网络的回归测试用例优先级排序
Test Case Prioritization Based on Complex Software Networks
摘要
Abstract
Test case prioritization is one of the effective and practical regression testing techniques. This paper proposed a new test case prioritization technique which takes the software structure complexity that has usually been neglected in previous work into consideration. It used weighted class dependency networks to represent software at the class level. It defined fault proneness index of classes to describe the fault-introduced probability. It defined fault propagation ratio of classes to describe the fault severity. Then test attention of classes was introduced to depict the testing importance of classes, and based on which, together with the coverage information of each test case, the priority of each test case was determined. The empirical results on several software systems suggest that the proposed approach is more effective than the other test case prioritization techniques and has relatively high stability. And the relationships between the effectiveness of the proposed approach and two factors (i.e.fault types and structural complexity metrics) were also uncovered.关键词
测试用例优先级排序/软件结构/复杂网络/回归测试/软件Key words
test case prioritization/ software structure/ complex network/ regression testing/ software分类
信息技术与安全科学引用本文复制引用
潘伟丰,李兵,马于涛,刘婧..基于复杂软件网络的回归测试用例优先级排序[J].电子学报,2012,40(12):2456-2465,10.基金项目
国家自然科学基金(No.61202048) (No.61202048)
浙江省自然科学基金(No.LQ12F02011) (No.LQ12F02011)
武汉市科技晨光计划(No.201150431102) (No.201150431102)