计算机工程 ›› 2011, Vol. 37 ›› Issue (16): 82-83.doi: 10.3969/j.issn.1000-3428.2011.16.028

• 软件技术与数据库 • 上一篇    下一篇

一种改进的软件自适应随机测试策略

郑成文 1,2,韩 柯 3,张海粟 4   

  1. (1. 总参通信训练基地,河北 宣化 075100;2. 通信指挥学院研究生大队,武汉 430010;3. 中国电子系统设备工程公司研究所,北京 100141;4. 解放军理工大学指挥自动化学院,南京 210007)
  • 收稿日期:2011-02-17 出版日期:2011-08-20 发布日期:2011-08-20
  • 作者简介:郑成文(1979-),男,博士研究生,主研方向:软件质量评测;韩 柯,研究员、博士生导师;张海粟,博士研究生
  • 基金项目:

    国家“973”计划基金资助项目(2007CB310800)

Improved Strategy for Software Adaptive Random Testing

ZHENG Cheng-wen 1,2, HAN Ke 3, ZHANG Hai-su 4   

  1. (1. General Staff Communications Training Base, Xuanhua 075100, China; 2. Graduate Battalion, Commanding Communications Academy, Wuhan 430010, China;3. Institute of China Electronic System Equipment Engineering Company, Beijing 100141, China; 4. Institute of Command Automation, PLA University of Science & Technology, Nanjing 210007, China)
  • Received:2011-02-17 Online:2011-08-20 Published:2011-08-20

摘要: 针对自适应随机测试(ART)存在的高维和距离度量问题,提出一种改进的软件自适应随机测试策略。分析ART的局限性,扩展ART的前提假设,基于测试用例特征相似性度量选择最佳的测试用例。实验结果表明,与传统随机测试策略相比,改进策略能更多地触发软件失效,测试效果更优。

关键词: 软件测试, 自适应随机测试, 测试用例, 测试序列, 相似性

Abstract: Adaptive Random Testing(ART) is an enhanced version of Random Testing(RT). There are two factors that restrict the performance of ART, high-dimension data and distance metric. In this paper, an advanced strategy of ART based on test case similarity is presented by analyzing the limitation of ART and enlarging the hypothesis. Experimental result shows that the advanced ART, to some extent, can compensate for the limitations of existing ART and performs better than random test.

Key words: software testing, Adaptive Random Testing(ART), testing case, testing sequences, similarity

中图分类号: