Title :
A Test Generation Method Based on Model Reduction for Parallel Software
Author :
Tao Sun ; Xinming Ye ; Jing Liu
Author_Institution :
Coll. of Comput. Sci., Inner Mongolia Univ., Hohhot, China
Abstract :
Modeling and testing for parallel software systems is difficult, because the number of states and execution fragments expand significantly caused by parallel behaviors, so that many traditional testing methods cannot work effectively for this kind of software. In this paper, a test sequence generation method based on model reduction for parallel software systems is shown. Firstly, a formal model for software system specification is constructed based on Coloured Petri Net (CPN), called system model; and a model reduction method based on trace-equivalent principle is shown and applied on system model, which could generate an external behavior equivalent model with smaller scale. Secondly, a linear behavior sequence of the system is specified using CPN, called LBS model, which represents testing purpose in a test case, and some operations between state space diagrams of system model and LBS model are defined, so that a sub-graph of system model state space diagram is generated, which could cover all executions of system model that involves behaviors of LBS. Finally, a performance analysis shows the effectiveness of the method.
Keywords :
Petri nets; formal specification; graph colouring; parallel programming; program testing; reduced order systems; CPN; LBS model; coloured Petri net; external behavior equivalent model; formal model; linear behavior sequence; model reduction method; parallel software systems; software system specification; system model; system model state space diagram; test sequence generation method; trace-equivalent principle; Firing; Reduced order systems; Software systems; Software testing; Unified modeling language; test generation; reduction; Coloured Petri Net;
Conference_Titel :
Parallel and Distributed Computing, Applications and Technologies (PDCAT), 2012 13th International Conference on
Conference_Location :
Beijing
Print_ISBN :
978-0-7695-4879-1
DOI :
10.1109/PDCAT.2012.144