面向路径的测试数据自动生成工具设计与实现  被引量:2

Design and realization of a path-wise automatic generator of test data

在线阅读下载全文

作  者:王溪波[1] 马春[1] 杜晓舟 

机构地区:[1]沈阳工业大学信息科学与工程学院,辽宁沈阳110178 [2]总参通信工程设计研究院,辽宁沈阳110005

出  处:《沈阳航空工业学院学报》2009年第3期54-59,共6页Journal of Shenyang Institute of Aeronautical Engineering

摘  要:面向路径的测试数据生成问题是软件测试中一个基本问题。采用遗传算法作为数据优化搜索策略,设计并实现了一个面向路径的测试数据自动生成工具PTDAG,同时对实现过程中的程序插装及驱动程序的编写规则等关键技术进行了分析。实验结果表明,PTDAG在源代码进行插装后,通过模拟对方法的实际调用产生了一组测试数据,完成一组目标路径的测试数据的自动生成,还可以针对某一条具体的目标路径,得到一个相应的优化测试数据。Automatic generation of test data for a given path in a program is one of the elementary problems in software testing. GA is adopted and then designs a Path - wise Test Data Auto - Generator PTDAG. At the same time, some key technologies which need to be resolved in system realization process such as: instrumentation technique for tested source program, definition of driver rules and so on is realized. Experiment results show that the tool can generate a set of optimization testing data set through simulating actual call after code instrumentation in source program, complete test data automatic generation for objectives path, and it can also be used for a specific objectives path, and obtains optimization test data correspondingly.

关 键 词:测试数据 软件测试 程序插装 遗传算法 

分 类 号:TP391[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象