期刊文献+

面向Length_N测试覆盖准则的测试用例生成技术研究

Research for Test Case Generation Based on Length_N Criterion
下载PDF
导出
摘要 针对路径覆盖测试的可行性,提出了一种新的路径测试覆盖准则(Length_N准则)。首先把测试用例生成归纳为多目标函数的优化问题,其有效方法是根据程序运行结果指导生成过程,通过不断迭代,生成符合要求的测试数据集。为了提高生成效率,对遗传模拟退火算法的编码、适应度函数、交叉概率做了一定的改进;并在此基础上来自动生成测试用例。实验结果表明该方法在效率上较遗传算法、随机测试数据生成方法有很明显的提高,在可行性上比路径覆盖准则也有很大的改善。 For the feasibility of integrity path-tested coverage, a new path-tested coverage criterion, named length_ N criterion, was prompted. Firstly the automated approach for generating test data was proposed by solving multiobject function. An efficient approach to automated generation of structural test data is to breed search iteratively by profiling of program execution. Some improvements were made at encoding, fitness function and annealing gene, and utilize the result and instrumentation theory to generate test data. Experimental results showed this approach has better effect than random method and genetic algorithm.
出处 《四川大学学报(工程科学版)》 EI CAS CSCD 北大核心 2008年第3期132-137,共6页 Journal of Sichuan University (Engineering Science Edition)
基金 国家中小企业创新基金资助项目(06C26225101730) 四川省科技厅基金资助重点项目(05GG021-003-2)
关键词 面向路径测试覆盖准则 遗传模拟退火算法 程序插装 测试用例 Length_N完整路径表 path-oriented test coverage criterion genetic simulated test case length_N integrity path table
  • 相关文献

参考文献10

  • 1Christoph C,Gray M, Michael S. Generation of software test data by volution[ J]. IEEE Trans on Software Eng, 2001,27 (12) :1085 - 1110.
  • 2Sthamer H. The automatic generation of software test data using genetic algorithms [ D ]. Great Britain: University of Glamorgan, 1996.
  • 3Huang J C. Detection of data flow anomaly through program instrumentation [ J ]. TSE, 1979,5 (3) :226 - 236.
  • 4Miller J, Reformat M, zhang H. Automatic test data generation using genetic algorithm and program dependence graphs [ C ]//Information and Software Technology. 2006,48:586 - 605.
  • 5Berndt D, Fisher J, Johnson L. Breeding software test cases with genetic algorithms[ C]//Proceedings of the 36^th Hawaii International Conference on System Sciences (HICSS 36). 2003.
  • 6Tracey N, Clark J, Mander K. Automated program flaw finding using simulated annealing[ C]//Proc Int'l Symp Software Testing and Analysis. Software Eng Notes, 1998:73 - 81.
  • 7McMinn P. Search-based software test data generation: A survey[C]//Software Testing, Verification and Reliability, 2004,14(2) :105 - 156.
  • 8Gong Yunzhan, Zhang Wei, Lu Qingling. Making software testing system oriented faults [ C ]//The 6^th International Conference on Computer Aided Industial Design & Conceptual Design. 2005 : 840 - 844.
  • 9毛澄映,卢炎生.分支测试中测试路径用例的简化生成方法[J].计算机研究与发展,2006,43(2):321-328. 被引量:17
  • 10单锦辉,王戟,齐治昌.面向路径的测试数据自动生成方法述评[J].电子学报,2004,32(1):109-113. 被引量:46

二级参考文献12

  • 1毛澄映,卢炎生.面向对象类簇级测试中控制依赖分析方法研究[J].计算机工程与科学,2005,27(8):65-69. 被引量:6
  • 2J. Voas, L. Morell, K. Miller. Predicting where faults can hide from testing. IEEE Software, 1991, 8(2): 41-48.
  • 3S. A. Vilkomir, J. p. Bowen, Formalization and analysis of control-flow testing criteria. SCISM, South Bank University,London, UK, Tech. Rep. : SBU-CISM-01-01, 2001.
  • 4P. C. Jorgensen. Software Testing: A Craftsman's Approach(Second edition). Boca Raton, Florida, USA: CRC Press, 2002.
  • 5S. C. Ntafos. A comparison of some structural tempting strategies.IEEE Trans. Software Engineering, 1988, 14(6): 868-874.
  • 6D. F. Yates, N. Malevris. Reducing the effects of infeasible paths in branch testing. ACM SIGSOFT Soft. Eng. Notes,1989, 14(8): 48-54.
  • 7A. Bertolino, R. Mirandola, E. Peciola. A case study in branch testing automation. Journal of Systems and Software, 1997, 38(1): 47-59.
  • 8A. Bertolino, M Marre. Automatic generation of path covers based on the control flow analysis of computer programs. IEEE Trans. Software Engineering, 1994, 20(12) : 885 - 899.
  • 9E. J. Weyuker. The application of program schema results to programs. International Journal of Computer and Information Science, 1979, 8(5) : 387-403.
  • 10荚伟,奚红宇,高仲仪.遗传算法在软件测试数据生成中的应用[J].北京航空航天大学学报,1998,24(4):434-437. 被引量:38

共引文献58

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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