Title :
Generating Test Cases Using Colored Petri Net
Author :
Cai, Lizhi ; Zhang, Juan ; Liu, Zhenyu
Author_Institution :
Shanghai Key Lab. of Comput. Software Testing & Evaluating, Shanghai, China
Abstract :
A Petri Net is a graphical and mathematical modeling approach used to describe the transition of states for an information system. This paper presents a novel technique to generating test cases using a Colored Petri Net (CPN) model. The state space of a model based on CPN provides a solid basis for test cases generation in a form that can be easily manipulated. This technique is based on three testing coverage criteria according to the state space. The advantage of this approach is that the correctness of the specification based on CPN can be validated by simulation tools and the state space can be also generated by state space tools. The case for vending machine illustrates the effectiveness of this method.
Keywords :
Petri nets; program testing; program verification; colored Petri net; graphical modeling; mathematical modeling; state space; state transition; test case generation; Costs; Formal specifications; Information systems; Laboratories; Mathematical model; Software systems; Software testing; Solid modeling; State-space methods; System testing;
Conference_Titel :
Information Engineering and Electronic Commerce (IEEC), 2010 2nd International Symposium on
Conference_Location :
Ternopil
Print_ISBN :
978-1-4244-6972-7
Electronic_ISBN :
978-1-4244-6974-1
DOI :
10.1109/IEEC.2010.5533237