期刊文献+

一种基于Messy GA的结构测试数据自动生成方法 被引量:14

An Automated Approach for Structural Test Data Generation Based on Messy GA
下载PDF
导出
摘要 结构性测试是标识测试用例的基本方法之一.由于程序语言的复杂性以及被测程序的多样性,自动生成结构测试数据的一种有效方法是根据程序运行结果指导生成过程,通过不断迭代,生成符合要求的测试数据集.提出一种基于MessyGA的结构测试数据自动生成方法,将测试覆盖率表示为测试输入集X的函数F(X),并利用MessyGA不需要染色体模式排列的先验知识即可进行优化求解的性质对F(X)进行迭代寻优,进一步提高了搜索的并行性,并最终提高测试覆盖率.对一组标准测试程序和若干实际应用程序的实验结果表明,较之现有基于遗传算法的生成方法,该方法能够以更高的效率生成更高质量的测试数据,并适用于较大规模的程序. Structural testing is one of the basic approaches for identifying test cases. Because of complexity of programming languages and variety of applications, an efficient approach to automated generation of structural test data is to breed search iteratively by profiling of program execution. Based on Messy GA, an automated approach for generating such data is proposed in this paper by solving F(X), a test coverage function of test data set. It utilizes Messy GA's prominent feature that can optimize complicated problems without prior knowledge about schema arrangement in chromosomes, so that it can improve concurrency level of searching and test coverage. Compared with other approaches based on GA, the experimental results for several typical programs and real-world applications show that it can generate higher quality test data more efficiently, and can be applied to larger applications.
出处 《软件学报》 EI CSCD 北大核心 2006年第8期1688-1697,共10页 Journal of Software
基金 国家高技术研究发展计划(863) 中国科学院百人计划~~
关键词 结构测试 测试数据 测试用例 自动生成 遗传算法 变长度染色体 Messy GA structural test test data test case automatic generation genetic algorithm sizable chromosome Messy GA
  • 相关文献

参考文献22

  • 1Jorgenson PC.Software Testing:A Craftsman's Approach.2nd ed.Beijing:Machine Press,2003.5-7.
  • 2Pargas RP,Harrold MJ.Test data generation using genetic algorithms.Journal of Software Testing,Verification and Reliability,1999,9(4):263-282.
  • 3Korel B.Automated software test data generation.IEEE Trans.on Software Engineering,1990,16(8):870-879.
  • 4Michael CC,McGraw GE,Schatz MA.Generating software test data by evolution.IEEE Trans.on Software Engineering,2001,27(12):1085-1110.
  • 5Sy NT,Deville Y.Consistency techniques for interprocedural test data generation.ACM SIGSOFT Software Engineering Notes,2003,28(5):108-117.
  • 6Chen T,Tse T,Zhouz Z.Semi-Proving:An integrated method based on global symbolic evaluation and metamorphic testing.ACM SIGSOFT Software Engineering Notes,2002,27(4):191-195.
  • 710Offutt A,Jin Z,Pan J.The dynamic domain reduction procedure for test data generation.Software Practice and Experience,1999,29(2):167-193.
  • 8Zhang J,Xu C,Wang X.Path-Oriented test data generation using symbolic execution and constraint solving techniques.In:He JF,Yang FQ,eds.Proc.of the Int'l Conf.on Software Engineering and Formal Methods.Beijing:IEEE Computer Society Press,2004.242-250.
  • 9DeMillo RA,Offutt AJ.Constraint-Based automatic test data generation.IEEE Trans.on Software Engineering,1991,17(12):900-910.
  • 10Gupta N,Mathur AP,Soffa ML.Automated test data generation using an iterative relaxation method.ACM SIGSOFT Software Engineering Notes,1998,23(6):231-244.

同被引文献155

引证文献14

二级引证文献75

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部