节点文献

基于模型检测工具NuSMV的功能测试用例生成方法

Approach of functional test case generation based on model checker NuSMV

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 何洋洪玫祁琳莹王存伟郑佳琪

【Author】 HE Yang;HONG Mei;QI Linying;WANG Cunwei;ZHENG Jiaqi;College of Computer Science,Sichuan University;

【机构】 四川大学计算机学院

【摘要】 对现今已有的基于模型检测的测试用例生成方法以及覆盖准则进行了研究,在此基础上设计一个基于模型检测工具Nu SMV生成功能测试用例的方法。首先,从被测系统状态图入手,经过抽象映射成Nu SMV支持的模型验证器(SMV)模型;其次,将测试覆盖标准以CTL时序逻辑公式给出,并设计出陷阱性质;最后,利用Nu SMV进行模型检测,自动获得反例集,在去除冗余后,自动生成能够满足变换覆盖和状态覆盖的功能测试用例集。实验结果表明,该方法能够生成满足变换覆盖和状态覆盖的功能测试用例集,与传统方法相比,减少了测试用例生成的工作量,简化了测试用例集。

【Abstract】 The existing methods and coverage criterion of test case generation based on model checking were studied. On this basis,a method of generating functional test cases based on the model checker Nu SMV was presented. First of all,this method started from the state diagram of the system under test,mapped to a SMV( Cymbolic Model Verifier) model; then expressed the coverage criterion by CTL temporal logic and designed the trap properties combined with the transition coverage;finally automatically got the set of counter examples by using the Nu SMV to check model,after reducing the test suite,automatically generated functional test cases satisfied with the transition coverage and state coverage. The experiment results show that this method can generate functional test suite satisfied the transition coverage and state coverage. Compared with the traditional method,the proposed method reduces the task and simplifies the test suite.

【基金】 四川省应用基础研究项目(2014JY0112)
  • 【文献出处】 计算机应用 ,Journal of Computer Applications , 编辑部邮箱 ,2015年S2期
  • 【分类号】TP311.53
  • 【被引频次】12
  • 【下载频次】313
节点文献中: 

本文链接的文献网络图示:

本文的引文网络