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

基于Object-Z与Markov链的校园卡系统测试用例
引用本文:仲晓敏,侯建花,杨长青.基于Object-Z与Markov链的校园卡系统测试用例[J].微电子学与计算机,2012,29(3):73-77.
作者姓名:仲晓敏  侯建花  杨长青
作者单位:1. 淮海工学院计算机工程学院,江苏连云港,222005
2. 淮海工学院理学院,江苏连云港,222005
摘    要:针对提高校园卡系统准确性和可靠性测试的要求,提出了Object-Z与Markov链结合的测试用例自动生成算法.使用Object-Z对系统进行形式化规约,生成测试场景和操作顺序图;将操作顺序图转换为Markov链使用模型;根据测试场景和Markov链使用模型生成数量相对合理的测试用例.该方法无需对系统进行运行,在需求分析与测试阶段就能对系统的功能进行测试.生成的校园卡系统测试用例证明该方法是有效的,并且在提高测试覆盖率的同时,使用Markov链也能保证对系统的可靠性测试.

关 键 词:校园卡系统  Object-Z  测试场景  Markov链  使用模型  测试用例

Test Case Generator for Campus-wide Card System Based on Object-Z and Markov
ZHONG Xiao-min,HOU Jian-hua,YANG Chang-qing.Test Case Generator for Campus-wide Card System Based on Object-Z and Markov[J].Microelectronics & Computer,2012,29(3):73-77.
Authors:ZHONG Xiao-min  HOU Jian-hua  YANG Chang-qing
Institution:1 School of Computer Engineering,Huaihai Institute of Technology,Lianyungang 222005,China; 2 School of Mathematics & Physics,Huaihai Institute of Technology,Lianyungang 222005,China)
Abstract:For improving the accuracy and reliability of the Campus card system test requirement,test cases generator based on Object-Z and Markov chain is proposed in this paper.The formal specification of the system is gained by using Object-Z,then test scenarios and operation sequence diagrams are generated.Operation sequence diagrams are converted into a Markov chain usage model.According to the test scenarios and the Markov chain model to produce a relatively reasonable amount of test cases.The method don’t need to run the system,and could be able to test the functionality of the system in the time of requirements analysis.The results of generated test cases for campus-wide card system show the method is effective,and using the Markov chain ensures the reliability of the system test.
Keywords:campus-wide card  Object-Z  test scenario  Markov chain  usage model  test case
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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