Title :
Optimal Test Input Sequence Generation for Finite State Models and Pushdown Systems
Author :
Chander, Ajay ; Dhurjati, Dinakar ; Sen, Koushik ; Yu, Dachuan
Author_Institution :
DOCOMO USA Labs., Palo Alto, CA, USA
Abstract :
Finite state machines and pushdown systems are frequently used in model based testing. In such testing, the system under test is abstractly modeled as a finite state machine having a finite set of states and a labeled transition relation between the states. A pushdown system, additionally, has an unbounded stack. Test inputs are then generated by enumerating a set of sequences of transitions labels from the model. There has been a lot of research that focussed on generation of test input sequences satisfying various coverage criteria. In this paper, we consider the problem of generating a set of test input sequences that satisfy certain coverage criteria-cover all transition labels or cover all length-n transition label sequences at least once-while minimizing the sum of the length of the sequences in the set. We show that these optimal test input generation problems can be reduced to integer linear programming (ILP) problems. We also prove that our optimal test input generation problems are NP-Complete. We report our experimental results on a prototype implementation for finite states machines.
Keywords :
computational complexity; finite state machines; integer programming; linear programming; program testing; pushdown automata; ILP problems; NP-complete; cover all length-n transition label sequences; coverage criteria-cover all transition labels; finite state machines; finite state models; finite states machines; integer linear programming problems; model based testing; optimal test input generation problems; optimal test input sequence generation; prototype implementation; pushdown systems; system under test; test input sequences; transition relation; transitions labels; unbounded stack; Graphical user interfaces; Integer linear programming; Mobile communication; Optimization; Polynomials; Testing; USA Councils; Model-based testing; Optimal test input generation; Software Testing;
Conference_Titel :
Software Testing, Verification and Validation (ICST), 2011 IEEE Fourth International Conference on
Conference_Location :
Berlin
Print_ISBN :
978-1-61284-174-8
Electronic_ISBN :
978-0-7695-4342-0
DOI :
10.1109/ICST.2011.64