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

面向路径的测试数据自动生成工具设计与实现
引用本文:王溪波,马春,杜晓舟.面向路径的测试数据自动生成工具设计与实现[J].沈阳航空工业学院学报,2009,26(3):54-59.
作者姓名:王溪波  马春  杜晓舟
作者单位:1. 沈阳工业大学信息科学与工程学院,辽宁,沈阳,110178
2. 总参通信工程设计研究院,辽宁,沈阳,110005
摘    要:面向路径的测试数据生成问题是软件测试中一个基本问题.采用遗传算法作为数据优化搜索策略,设计并实现了一个而向路径的测试数据自动生成工具PTDAG,同时对实现过程中的程序插装及驱动程序的编写规则等关键技术进行了分析.实验结果表明,PTDAG在源代码进行捕装后,通过模拟对方法的实际调用产生了一组测试数据,完成一组目标路径的测试数据的自动生成,还可以针对某一条具体的日标路径,得到一个相虚的优化测试数据.

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

Design and realization of a path-wise automatic generator of test data
WANG Xi-bo,MA Chun,DU Xiao-zhou.Design and realization of a path-wise automatic generator of test data[J].Journal of Shenyang Institute of Aeronautical Engineering,2009,26(3):54-59.
Authors:WANG Xi-bo  MA Chun  DU Xiao-zhou
Institution:1.School of Information Science and Engineering;Liaoning Shenyang University of Technology;Liaoning Shenyang 110178;2.Communication Engineering Design and Research Institute of the PLA General Staff Headquarters;Liaoning Shenyang 110005
Abstract: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...
Keywords:test data  software testing  GA  program instrumentation  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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