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

计算机工程 ›› 2011, Vol. 37 ›› Issue (15): 30-33. doi: 10.3969/j.issn.1000-3428.2011.15.008

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

基于决策树的回归测试子集选取

朱 彬   

  1. (上海第二工业大学计算机与信息学院,上海 201209)
  • 收稿日期:2011-03-07 出版日期:2011-08-05 发布日期:2011-08-05
  • 作者简介:朱 彬(1976-),男,讲师、博士研究生,主研方向: 软件形式化方法,软件测试
  • 基金资助:
    上海市自然科学基金资助项目(09ZR1412100)

Selection of Regression Test Subset Based on Decision Tree

ZHU Bin   

  1. (School of Computer & Information, Shanghai Second Polytechnic University, Shanghai 201209, China)
  • Received:2011-03-07 Online:2011-08-05 Published:2011-08-05

摘要: 软件版本的频繁变更及测试资源的限制要求软件回归测试采用新的测试用例集合的生成和约简技术。为此,介绍基于决策树的回归测试子集的选取方法,将测试用例和测试需求作为一种知识表示系统,对测试知识表示系统进行约简,将约简后的系统构造成一棵决策树,由决策树获得被约简的回归测试子集。理论分析证明该方法复杂度较低。

关键词: 决策树, 回归测试, 测试子集选取, 测试需求, 测试知识

Abstract: Increasing number of software versions and the limitation of test resources challenge the traditional methods of regression test. This paper presents a new approach to select test subset for regression test by building the decision tree of test knowledge system. Test cases and test requirements are denoted as a test knowledge system in this method. The test knowledge system is reduced by eliminating redundant attributes. It builds the decision tree from the reduced test knowledge system. A test subset can be obtained from the decision tree. To implement the method by computer, it also gives the algorithm for reducing test knowledge system and the algorithm for building the decision tree.

Key words: decision tree, regression test, test subset selection, test requirement, test knowledge

中图分类号: