首页 | 本学科首页   官方微博 | 高级检索  
     

基于复杂软件网络的回归测试用例优先级排序
引用本文:潘伟丰,李兵,马于涛,刘婧.基于复杂软件网络的回归测试用例优先级排序[J].电子学报,2012,40(12):2456-2465.
作者姓名:潘伟丰  李兵  马于涛  刘婧
作者单位:1. 浙江工商大学计算机与信息工程学院,浙江杭州,310018
2. 武汉大学软件工程国家重点实验室,湖北武汉430072;武汉大学计算机学院,湖北武汉430072
基金项目:国家自然科学基金,浙江省自然科学基金,武汉市科技晨光计划
摘    要: 测试用例优先级排序技术是一种高效实用的回归测试技术.针对现有排序方法未能有效利用软件结构复杂性信息的不足,提出了一种基于复杂软件网络的回归测试用例优先级排序方法.该方法用加权类依赖网络模型抽象类粒度软件系统,从结构角度测度类引入错误的可能性及错误的严重性,并据此评价类的测试重要性,同时结合测试用例的覆盖信息,对测试用例进行排序.实例研究表明,本文的方法能够显著提高严重错误的发现速率,并且具有较好的稳定性.同时,揭示了方法有效性与软件错误类型和结构度量指标两者间的关系.

关 键 词:测试用例优先级排序  软件结构  复杂网络  回归测试  软件
收稿时间:2012-01-10

Test Case Prioritization Based on Complex Software Networks
PAN Wei-feng , LI Bing , MA Yu-tao , LIU Jing.Test Case Prioritization Based on Complex Software Networks[J].Acta Electronica Sinica,2012,40(12):2456-2465.
Authors:PAN Wei-feng  LI Bing  MA Yu-tao  LIU Jing
Affiliation:1. School of Computer Science and Information Engineering,Zhejiang Gongshang University,Hangzhou,Zhejiang 310018,China;2. State Key Laboratory of Software Engineering,Wuhan University,Wuhan,Hubei 430072,China;3. School of Computer,Wuhan University,Wuhan,Hubei 430072,China
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.
Keywords:test case prioritization  software structure  complex network  regression testing  software
本文献已被 万方数据 等数据库收录!
点击此处可从《电子学报》浏览原始摘要信息
点击此处可从《电子学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号