|国家预印本平台
首页|基于路径覆盖的测试数据生成方法研究

基于路径覆盖的测试数据生成方法研究

Study on testing data generation for path testing

中文摘要英文摘要

为了解决目前结构性演化测试缺乏面向路径覆盖标准的问题,提出了基于路径距离和节点分支相结合的适应度函数构造方法,以用于生成覆盖指定路径的测试用例。首先给出演化测试数据生成模型,该模型的核心在于适应度函数构造和程序插桩,为此给出了2个相结合的适应度度量函数。该模型可以完全自动化地为每一条转向路径插入特定的适应度函数作为桩点。实验结果表明,相比于其他路径测试方法,该方法具有一定的优势和效益。

Nowadays there are few researches on path-oriented Evolutionary Testing. In order to solve this problem, this paper proposes a method to construct two fitness function, based on combining Path-Distance with Node-Branch, and then applying the method to testing data generation in path-oriented evolutionary testing. The empirical results indicate that this approach is more efficient than other path testing data generation techniques.

姜淑娟、姜光柱

计算技术、计算机技术

软件工程演化测试路径覆盖测试适应值函数遗传算法程序插桩

software engineeringevolutionary testingpath testingfitness functiongenetic algorithmprogram instrumentation

姜淑娟,姜光柱.基于路径覆盖的测试数据生成方法研究[EB/OL].(2011-01-03)[2025-08-16].http://www.paper.edu.cn/releasepaper/content/201101-21.点此复制

评论