首页    期刊浏览 2024年07月09日 星期二
登录注册

文章基本信息

  • 标题:Research on Object-oriented Software Testing Cases of Automatic Generation
  • 本地全文:下载
  • 作者:Zhang, Junli ; Song, Limin ; Li, Linhao
  • 期刊名称:Journal of Networks
  • 印刷版ISSN:1796-2056
  • 出版年度:2013
  • 卷号:8
  • 期号:11
  • 页码:2627-2634
  • DOI:10.4304/jnw.8.11.2627-2634
  • 语种:English
  • 出版社:Academy Publisher
  • 摘要:In the research on automatic generation of testing cases, there are different execution paths under drivers of different testing cases. The probability of these paths being executed is also different. For paths which are easy to be executed, more redundant testing case tend to be generated; But only fewer testing cases are generated for the control paths which are hard to be executed. Genetic algorithm can be used to instruct the automatic generation of testing cases. For the former paths, it can restrict the generation of these kinds of testing cases. On the contrary, the algorithm will encourage the generation of such testing cases as much as possible. So based on the study on the technology of path-oriented testing case automatic generation, the genetic algorithm is adopted to construct the process of automatic generation. According to the triggering path during the dynamic execution of program, the generated testing cases are separated into different equivalence class. The number of testing case is adjusted dynamicly by the fitness corresponding to the paths. The method can create a certain number of testing cases for each execution path to ensure the sufficiency. It also reduces redundant testing cases so it is an effective method for automatic generation of testing cases.
  • 关键词:Testing Cases;Basic Path;Control Flow;Triggering Path;Genetic Algorithm
国家哲学社会科学文献中心版权所有