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

基于确定有限状态机的测试输入序列选取
引用本文:张涌,钱乐秋,王渊峰.基于确定有限状态机的测试输入序列选取[J].计算机研究与发展,2002,39(9):1144-1150.
作者姓名:张涌  钱乐秋  王渊峰
作者单位:复旦大学计算机科学系,上海,200433
摘    要:有限状态机可以精确地刻画软件系统或其子系统的行为,其在软件建模中被广泛应用,基于有限状态机的测试问题得到了广泛的研究,其中WP方法由于限制条件较少,并且其可以达到较高的错误覆盖度,因此被广泛使用,但当有限状态机的实现中的状态数目的估计值m较大时,产生的测试输入序列相对较少的测试输入序列数目,可以提高测试效率,同时本文对Wp方法和R-Wp方法产生的测试输入序列数目进行了讨论,并证明了该方法与Wp方法相同的错误覆盖能力。

关 键 词:软件测试  规约说明  有限状态机  测试输入序列选取  软件系统  软件开发

TEST SEQUENCES SELECTION BASED ON DETERMINISTIC FINITE-STATE MACHINES
ZHANG Yong,QIAN Le-Qiu,and WANG Yuan-Feng.TEST SEQUENCES SELECTION BASED ON DETERMINISTIC FINITE-STATE MACHINES[J].Journal of Computer Research and Development,2002,39(9):1144-1150.
Authors:ZHANG Yong  QIAN Le-Qiu  and WANG Yuan-Feng
Abstract:The behavior of a software system or its subsystems can be described precisely using finite-state machines, so it has been used widely in software modeling. Many researchers have proposed some test selection methods based on FSM. Among these methods, the Wp-method, which has fewer use constraints and higher fault coverage, can be used more widely. But if the estimated states number ( m ) of the implementation of a specification is large, a large number of test sequences will be generated using the Wp-method, which will decrease the testing efficiency. In this paper, an improved method of the Wp-method, named R-Wp method, is presented. When the m is large, fewer test sequences can be obtained through this method than through the Wp-method. In addition, the number of test sequences generated from the R-Wp method and the Wp-method, and factors which influence the number of test sequences generation, are discussed. Finally, it is proved that the R-Wp has the same fault detecting ability as the Wp-method.
Keywords:software testing  specification  finite-state machine  test sequences selection
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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