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

面向路径覆盖的演化测试用例生成技术
引用本文:谢晓园,徐宝文,史 亮,聂长海.面向路径覆盖的演化测试用例生成技术[J].软件学报,2009,20(12):3117-3136.
作者姓名:谢晓园  徐宝文  史 亮  聂长海
作者单位:1. 东南大学,计算机科学与工程学院,江苏,南京,210096;计算机软件新技术国家重点实验室,南京大学,江苏,南京,210093
2. 东南大学,计算机科学与工程学院,江苏,南京,210096;计算机软件新技术国家重点实验室,南京大学,江苏,南京,210093;南京大学,计算机科学与技术系,江苏,南京,210093
3. 微软中国研发集团,北京,100190
4. 计算机软件新技术国家重点实验室,南京大学,江苏,南京,210093;南京大学,计算机科学与技术系,江苏,南京,210093
基金项目:Supported by the National Natural Science Foundation of China under Grant Nos.90818027, 60633010 (国家自然科学基金); the National High-Tech Research and Development Plan of China under Grant No.2009AA01Z147 (国家高技术研究发展计划(863)); the National Grand Fundamental Research 973 Program of China under Grant No.2009CB320703 (国家重点基础研究发展规划(973))
摘    要:为了解决目前结构性演化测试主要集中于面向语句、分支等覆盖标准,缺乏面向路径覆盖标准的问题,提出了基于相似性度量的适应值函数构造方法,以用于生成覆盖指定路径的测试用例.首先给出适应值函数构造基本模型,即利用测试数据的真实执行轨迹来评估它相对于指定路径的适应值.该模型的核心在于度量执行轨迹与指定路径之间的相似度,为此给出了3种不同的相似度度量算法.该模型可以完全自动化地为每一条目标路径构造出特定的适应值函数.实验结果表明,相对于其他路径测试方法,该方法在针对复杂路径的情况下具有一定的优势.此外,实验结果还指出了该方法的适用性范围和局限所在.

关 键 词:件测试  演化测试  路径覆盖测试  适应值函数设计  相似性度量
收稿时间:2008/6/11 0:00:00
修稿时间:2009/2/24 0:00:00

Genetic Test Case Generation for Path-oriented Testing
XIE Xiao-Yuan,XU Bao-Wen,SHI Liang and NIE Chang-Hai.Genetic Test Case Generation for Path-oriented Testing[J].Journal of Software,2009,20(12):3117-3136.
Authors:XIE Xiao-Yuan  XU Bao-Wen  SHI Liang and NIE Chang-Hai
Affiliation:XIE Xiao-Yuan1,2,XU Bao-Wen1,3 ,SHI Liang4,NIE Chang-Hai2,3 1(School of Computer Science and Engineering,Southeast University,Nanjing 210096,China) 2(State Key Laboratory for Novel Software Technology at Nanjing University,Nanjing 210093,China) 3(Department of Computer Science and Technology,Nanjing University,China) 4(Microsoft (China) Company Ltd,Beijing 100190,China)
Abstract:Nowadays many researches have focused on structural ET based on statement and branch coverage and there are few researches on path-oriented ET. To solve this problem, this paper provokes an approach to construct the fitness function for test case generation in path-oriented ET based on the similarity evaluation techniques. First, a basic model for fitness function design is provided. The core of the model is to evaluate the similarity between the execution track and the target path. Accordingly three different algorithms for the similarity evaluation are provided. This model can automatically generate fitness function for each target path. The empirical studies present the superiority of the approach over several other path-oriented testing techniques, especially for the complex paths. Besides, the limitation and the applicable scope of the approach are pointed out.
Keywords:software testing  evolutionary testing  path-oriented testing  fitness function design  similarity evaluation
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《软件学报》浏览原始摘要信息
点击此处可从《软件学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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