作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2010, Vol. 36 ›› Issue (15): 92-93,96. doi: 10.3969/j.issn.1000-3428.2010.15.032

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

基于图分析的测试用例集优化

罗文兵,赵 亮,赵洪宇   

  1. (中国软件评测中心,北京 100048)
  • 出版日期:2010-08-05 发布日期:2010-08-25
  • 作者简介:罗文兵(1977-),男,高级工程师,主研方向:软件测试自动化;赵 亮、赵洪宇,高级工程师
  • 基金资助:
    国家“863”计划基金资助项目“基于数据交换模型的测试技术研究”(2008AA01Z116)

Test Suite Optimization Based on Graph Analysis

LUO Wen-bing, ZHAO Liang, ZHAO Hong-yu   

  1. (China Software Testing Center, Beijing 100048)
  • Online:2010-08-05 Published:2010-08-25

摘要: 根据被测系统接口参数之间的关系,研究接口参数集与二部图之间的联系,提出接口参数集的相关定义、分类和性质并证明这些性质。在此基础上提出一种基于图的测试用例集优化算法,用于约简和优化测试用例集。实例分析表明该方法能够在保持测试用例覆盖率不减的情况下,较大地减小被测系统的测试用例集规模,提高测试效率。

关键词: 软件测试, 黑盒测试, 二部图, 测试用例集优化

Abstract: According to the relationship between the interface parameters of the tested system, this paper studies the relation between interface set and bipartite graph, proposes the definition, classification and properties related to interface set, and proves these properties. It presents a graph-based test suite optimization algorithm for test suite reduction and optimization according to the properties. Through the analysis of a case, the approach can reduce the size of test suite without reducing the coverage rate of test suite and enhance the efficiency of test.

Key words: software test, black-box test, bipartite graph, test suite optimization

中图分类号: