计算机与现代化

• 应用与开发 • 上一篇    下一篇

一种在线测试集约减方法

  

  1. (华北计算技术研究所创新中心,北京100010)
  • 收稿日期:2018-05-24 出版日期:2019-01-03 发布日期:2019-01-04
  • 作者简介:张晨光(1994-),女,河北邢台人,华北计算技术研究所创新中心硕士研究生,研究方向:计算机应用,软件测试; 徐珞(1976-),男,北京人,研究员级高级工程师,博士,研究方向:软件测试,系统仿真; 李宁(1986-),男,北京人,高级工程师,硕士,研究方向:软件测试,系统仿真。

An Online Optimizing Approach for Test Suite

  1. (Innovation Center, North China Institute of Computing Technology, Beijing 100010, China)
  • Received:2018-05-24 Online:2019-01-03 Published:2019-01-04

摘要: 针对测试集约减问题,提出一种在线测试用例集约减方法。将测试集约减嵌入测试生成流程内,作为测试生成的重要步骤,为测试生成提供筛选测试序列和测试约束的作用;同时测试生成过程恰好为测试集约减提供了测试序列与测试目标之间的满足关系,避免因测试需求之间复杂满足关系产生的冗余。与现有的测试生成方法进行比较,结果表明本文方法可以有效地提高测试集约减的效率和效果。

关键词: 测试集约减, 软件测试, 测试冗余, 算法

Abstract: Aiming at the problem of optimizing test suite, an online optimized test suite method is proposed. Optimizing test suite as an important test generation step is embedded in the test generation flow to provide screening test sequence and test constraints for the test generation. Meanwhile, the generation process provides the satisfaction relationship between the test sequence and the test target for the reduction of the test set, avoids the redundancy due to the complex satisfaction of the test requirements. Compared with the existing test generation method, this method proposed in this paper can effectively improve the efficiency and effectiveness in optimizing test suite.

Key words: optimizing test suite, software testing, test redundancy, algorithm

中图分类号: