计算机工程2011,Vol.37Issue(9):25-28,4.DOI:10.3969/j.issn.1000-3428.2011.09.009
一种路径测试数据自动生成方法
Data Automatic Generation Approach for Path Test
摘要
Abstract
A structure of overlapped paths is proposed to extract the information of control flow and describe paths of a program.Two fitness functions are constructed to generate test data for path test based on genetic algorithms with whole path's comparison, An indicator is defined to evaluate the synthesis performance of different fitness functions, and several other methods are selected for comparison with experiment.Results show that the two fitness functions balance the convergence and time consumption well.关键词
软件测试/路径测试/测试数据生成/遗传算法/适应值函数Key words
software test/ path test/ test data generation/ genetic algorithm/ fitness function分类
信息技术与安全科学引用本文复制引用
曹洋,胡春华,陈少波,李路明..一种路径测试数据自动生成方法[J].计算机工程,2011,37(9):25-28,4.基金项目
国家科技支撑计划基金资助项目(2009BAI79B03) (2009BAI79B03)
国家自然科学基金资助项目(60906050/F040604) (60906050/F040604)
航天医学基础与应用国家重点实验室开放基金资助项目(SMFA09K08) (SMFA09K08)