首页 | 本学科首页   官方微博 | 高级检索  
     

模型检验在构件数据流测试中的应用
引用本文:曾红卫,缪淮扣.模型检验在构件数据流测试中的应用[J].计算机科学与探索,2010,4(12):1121-1130.
作者姓名:曾红卫  缪淮扣
作者单位:上海大学,计算机工程与科学学院,上海,200072
基金项目:国家自然科学基金,上海市自然科学基金,上海市科学技术委员会项目,上海市重点学科建设项目
摘    要:模型检验输出的反例提供了一种自动产生测试用例的有效途径。提出了一种用模型检验进行构件数据流测试的方法。利用构件状态机描述构件的外部行为,用带有变量定义和使用标记的Kripke结构描述构件状态迁移中的数据流信息;给出了从构件状态机到Kripke结构的转换方法,并建立了全定义覆盖和全使用覆盖准则的陷阱性质构造公式。陷阱性质将使模型检验器NuSMV输出反例,从而产生构件的数据流测试序列。

关 键 词:构件  数据流测试  模型检验  陷阱性质
修稿时间: 

Applying Model Checking to Data Flow Testing of Components
ZENG Hongwei,MIAO Huaikou.Applying Model Checking to Data Flow Testing of Components[J].Journal of Frontier of Computer Science and Technology,2010,4(12):1121-1130.
Authors:ZENG Hongwei  MIAO Huaikou
Affiliation:Applying Model Checking to Data Flow Testing of Components
Abstract:The capability of model checking to output counterexamples provides a basis for automated test generation. This paper proposes an approach to data flow testing for components using model checking. Component state machine (CSM) is employed to describe the external behavior of a component, and the Kripke structure is used to describe the data flow of the component by labeling its states with atomic propositions about the definitions and uses of va-riables. The Kripke structure is constructed from the CSM by model transforming, and then the trap properties that will trap NuSMV to generate counterexamples are formed according to some data flow coverage criteria such as all-defs and all-uses criteria. From the counterexamples, test sequences satisfying given criteria can be generated.
Keywords:component  data flow testing  model checking  trap property
本文献已被 万方数据 等数据库收录!
点击此处可从《计算机科学与探索》浏览原始摘要信息
点击此处可从《计算机科学与探索》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号