通信学报 ›› 2012, Vol. 33 ›› Issue (3): 35-43.doi: 1000-436X(2012)03-0035-09

• 学术论文 • 上一篇    下一篇

基于谓词抽象的测试用例约简生成方法

郭曦1,张焕国1,2   

  1. 1 武汉大学 计算机学院,湖北 武汉 430072
    2 武汉大学 空天信息安全与可信计算教育部重点实验室,湖北 武汉 430072
  • 出版日期:2012-03-25 发布日期:2017-07-18
  • 基金资助:
    国家自然科学基金资助项目;国家自然科学基金资助项目;国家自然科学基金资助项目;空天信息安全与可信计算教育部重点实验室开放基金资助项目;空天信息安全与可信计算教育部重点实验室开放基金资助项目;湖北省自然基金资助项目;湖北省自然基金资助项目;中央高校基本科研业务费专项资金资助项目;中央高校基本科研业务费专项资金资助项目

Approach for reduced test suite generation based on predicate abstraction

Xi GUO1,Huan-guo ZHANG1,2   

  1. 1 School of Computer,Wuhan University,Wuhan 430072,China
    2 Key Laboratory of Aerospace Information Security and Trusted Computing of Ministry of Education,Wuhan University,Wuhan 430072,China
  • Online:2012-03-25 Published:2017-07-18
  • Supported by:
    The National Natural Science Foundation of China;The National Natural Science Foundation of China;The National Natural Science Foundation of China;The Open Foundation of Key Laboratory of Aerospace Information Security and T Computing of Ministry of Education;The Open Foundation of Key Laboratory of Aerospace Information Security and T Computing of Ministry of Education;The Natural Science Foundation of Hubei Province;The Natural Science Foundation of Hubei Province;Fundamental Research Funds for the Central Universities;Fundamental Research Funds for the Central Universities

摘要:

针对大规模软件系统状态迁移数量庞大,容易导致状态空间爆炸的问题,提出一种基于谓词抽象的测试用例约简生成方法,该方法依据给定的谓词集合对软件系统的状态空间进行等价类划分,通过状态集合之间的映射得到约简的抽象状态,并以抽象状态之间的迁移关系作为测试用例约简生成的基础。实验结果表明,该方法可以有效地对系统状态进行约简,并生成规模较小的测试用例集。

关键词: 谓词抽象, 状态约简, 等价类划分, 测试用例生成

Abstract:

Aim to the problem of status space explosion due to the growing number of status transition of large scale software system,a reduced test suite generation approach based on predicate abstraction was proposed,which divided the status space of the software model according to the gi predicates to get the equivalence classes.The reduced abstract status was settled using the mapping between the status sets,and generated the reduced test suite based on the transition of the status.The results of experiments indicate tha this approach can reduce the status of the model efficiently,and generate smaller size of test suite.

Key words: predicate abstraction, status reduction, equivalence class division, test case generation

No Suggested Reading articles found!