节点文献

回归测试中路径覆盖生成方法研究及其应用

Research and Application of Path Coverage Generation Method in Regression Testing

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 高建华殷定媛

【Author】 GAO Jian-hua,YIN Ding-yuan (Department of Computer Science and Engineering, Shanghai Normal University, Shanghai 200234, China)

【机构】 上海师范大学计算机科学与工程系

【摘要】 基于边覆盖的路径覆盖估测法可获取用于回归测试用例选择的数据信息,但存在估测精确率不高、对重叠路径的识别能力差以及循环结构对可执行路径数目的影响等缺陷.针对这些缺陷,提出一种新的路径覆盖生成方法来获取程序执行的路径信息,该方法包括CFG图到DAG图的转换和还原、利用DFS深度优先策略构造DAG图的chord生成树等,然后设计了基于该方法的测试数据集生成方法.最后,对该方法进行实验验证和数据分析,证明了该方法的有效性.

【Abstract】 Path coverage estimating method based on edge coverage can obtain data for regression test selection, but has the disadvantage of low estimating accuracy, low identifying ability to overlap path and the effect of cyclic structure on executable path number. This paper presents a new path coverage generation method to solve the problem above. This method has higher path coverage accuracy and generation efficiency than that of path coverage estimating method. This paper first describes path coverage generation process and basic steps including transformation and recovery between CFG and DAG, DAG chord spanning tree creation using DFS strategy. Furthermore, this paper studies the application of the method to regression testing, implements test suit generation and minimum regression test suit generation based on this method. Finally, it gives experimental data and data analysis to verify affectivity and efficiency of path coverage generation method.

【基金】 国家自然科学基金项目(60673067)资助;上海市重点产业技术产学研联合攻关项目(07XI-012)资助
  • 【文献出处】 小型微型计算机系统 ,Journal of Chinese Computer Systems , 编辑部邮箱 ,2009年03期
  • 【分类号】TP311.52
  • 【被引频次】7
  • 【下载频次】152
节点文献中: 

本文链接的文献网络图示:

本文的引文网络