计算机工程与应用 ›› 2012, Vol. 48 ›› Issue (17): 93-98.

• 研发、设计、测试 • 上一篇    下一篇

用模型检验产生约简测试集

田  野,曾红卫   

  1. 上海大学 计算机工程与科学学院,上海 200072
  • 出版日期:2012-06-11 发布日期:2012-06-20

Reduction of test set generation using model-checking

TIAN Ye, ZENG Hongwei   

  1. School of Computer Engineering and Science, Shanghai University, Shanghai 200072, China
  • Online:2012-06-11 Published:2012-06-20

摘要: 基于模型检验的自动化测试技术已经得到普遍应用,由于测试用例自动化生成过程中会产生巨大的资源消耗,优化问题越来越受到软件测试行业的广泛关注。提出一种基于节点权重的性质覆盖度计算方法,在模型检验器自动化生成测试用例之前对测试目标排序,能够更有效地检测到冗余性质,从而减少模型检验器被调用执行次数并且避免大规模的测试用例生成。

关键词: 模型检验, 测试生成, 性质排序, 性质集约简

Abstract: Automated testing based on model checking has gained a great popularity in the field of software testing. Consequently, the optimization during the process of test case generation has also drawn a big attention. This paper introduces an efficient method based on node weight to calculate the property coverage value. It sorts the property purposes before test case generation to obtain the maximum reduction to avoid calling redundant executives of model-
checker and generating scaled test suite.

Key words: model checking, test generation, property sorting, property set reduction