Minimal Test Suite Automatic Generation Method Based on Petri Net

被引:0
作者
Su, Jianyuan [1 ]
Wang, Lingling [1 ]
Liang, Hongyan [1 ]
Zhao, Xin [1 ]
Wu, Lingyan [1 ]
机构
[1] Hohai Univ, Coll Elect Engn, Nanjing 210024, Jiangsu, Peoples R China
来源
PROCEEDINGS OF 2008 INTERNATIONAL PRE-OLYMPIC CONGRESS ON COMPUTER SCIENCE, VOL I: COMPUTER SCIENCE AND ENGINEERING | 2008年
关键词
Petri; automatic testing; test case; place; transition; token; fault;
D O I
暂无
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
The technology of test case automatic generation is the critical content of software automated testing, and it is the dream of software testers to determine the minimal test suite. In this paper, analyzed the existing technology of test case auto generation, and combined it with the feature of Petri net to put forward a method which could generate the minimal test suite. Primarily, according to the requirement of SUT(system under test), established the systematic fault model of Petri net; then got the target marking from the initial marking and transition firing sequences identified by the resource places, accompanied with the state equation and reachable concept of Petri net, and finally with the target marking, the minimal test suite could be worked out. That is if the number of token in the target place is one, then this case should be preserved, or be eliminated. And it is demonstrated by the algorithmic examples that this method could generate the minimal test suite automatically, easy to realize on computer and possess better applicable value.
引用
收藏
页码:264 / 267
页数:4
相关论文
共 7 条
[1]   On the expected number of failures detected by subdomain testing and random testing [J].
Chen, TY ;
Yu, YT .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1996, 22 (02) :109-119
[2]   A FORMAL ANALYSIS OF THE FAULT-DETECTING ABILITY OF TESTING METHODS [J].
FRANKL, PG ;
WEYUKER, EJ .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1993, 19 (03) :202-213
[3]   An empirical study of test case filtering techniques based on exercising information flows [J].
Masri, Wes ;
Podgurski, Andy ;
Leon, David .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2007, 33 (07) :454-477
[4]   Software-reliability-engineered testing [J].
Musa, JD .
COMPUTER, 1996, 29 (11) :61-&
[5]  
Nie Chang-Hai, 2003, Chinese Journal of Computers, V26, P1690
[6]  
SU JY, 2007, MICROCOMPUTER APPL, V23, P7
[7]   Software unit test coverage and adequacy [J].
Zhu, H ;
Hall, PAV ;
May, JHR .
ACM COMPUTING SURVEYS, 1997, 29 (04) :366-427