由需求得到回归测试用例排序技术
详细信息    查看全文 | 推荐本文 |
  • 英文篇名:Test Case Prioritization for Regression Testing Based on Requirement
  • 作者:李华莹 ; 柴丽雅
  • 英文作者:LI Hua-ying;CHAI Li-ya;Institute of China Electronic System Equipment;
  • 关键词:软件需求 ; 测试用例 ; 用例排序 ; 回归测试
  • 英文关键词:software requirement;;test case;;prioritization;;regression testing
  • 中文刊名:WJFZ
  • 英文刊名:Computer Technology and Development
  • 机构:中国电子系统设备工程研究所;
  • 出版日期:2013-08-27 14:32
  • 出版单位:计算机技术与发展
  • 年:2013
  • 期:v.23;No.199
  • 基金:国家自然科学基金资助项目(61035004)
  • 语种:中文;
  • 页:WJFZ201311019
  • 页数:4
  • CN:11
  • ISSN:61-1450/TP
  • 分类号:76-79
摘要
为了提高回归测试用例集的测试效率和有效性,提出由需求得到回归测试用例排序技术及其实现算法。由需求得到回归测试用例排序技术,将与软件需求相关的需求描述度、需求实现复杂度、需求稳定度和需求覆盖度等因素应用于测试用例排序,以缺陷检测加权平均百分比作为度量标准。通过实验,比较排序后用例和未排序用例缺陷检测情况,实验结果表明该技术排序后的回归测试用例集,能够尽早地发现更多的软件错误,有效提高回归测试效率,保证软件质量。
        In order to improve the efficiency and validity of regression testing,test case prioritization method based on software requirement for regression testing and prioritization algorithm is proposed in this paper. Four factors related software requirement are taken into account in the method for ranking test cases,the factors are requirement description,requirement implementation complexity,requirement stability and requirement coverage. In this paper,average of the percentage of faults detected is used as a measurement criterion. Comparison of prioritized and non prioritized test case,the experimental results show that,the efficiency of regression testing is improved and the better software quality is achieved by using this method.
引文
[1]李红红,郝克刚,葛玮.一个划算的回归测试用例排序的成本-收益模型[J].计算机应用与软件,2009,26(4):131-132.
    [2]朱海燕.软件测试用例集缩减的一个算法[J].微电子学与计算机,2007,24(1):204-206.
    [3]Kim J M,Porter A.A history-based test prioritization technique for regression testing in resource constrained environments[C]//Proceedings of the 24th international conference on software engineering.New York,USA:ACM,2002:119-129.
    [4]Dennis J,Neelam G.Test case prioritization using relevant slices[C]//Proceedings of the 30th annual international computer software and applications conference.Washington D C,USA:IEEE,2006:411-420.
    [5]朱海燕,范辉,谢青松,等.测试用例排序的研究[J].计算机工程与科学,2008,30(1):79-81.
    [6]屈波,聂长海,徐宝文.基于测试用例设计信息的回归测试优先级算法[J].计算机学报,2008,31(3):431-439.
    [7]Ellmnn S,Malishevsky A,Rothcmel G.Prioritizing test cases for regression testing[C]//Proceedings of the 2000 ACM SIGSOFT international symposium on software testing and analysis.Portland,Oregon,USA:[s.n.],2000:102-112.
    [8]Ellmnn S,Malishevsky A,Rothcmel G.Test case prioritization:a family of empirical studies[J].IEEE transactions on software engineering,2002,28(2):159-182.
    [9]Ellmnn S,Malishevsky A,Rothermel G.Incorporating varying test costs and fault Severities into test case prioritization[C]//Proceedings of the 23rd international conference on software engineering.Toronto,Ontario,Canada:[s.n.],2001:329-338.
    [10]Rothermel G,Untch R H,Chu C,et al.Prioritizing test cases for regression testing[J].IEEE transactions on software engineering,2001,27(10):929-948.
    [11]屈波,聂长海,徐宝文.回归测试中测试用例优先级技术研究综述[J].计算机科学与探索,2009,3(3):225-233.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700