DocumentCode :
1652457
Title :
Path-oriented test data generation using symbolic execution and constraint solving techniques
Author :
Zhang, Jian ; Chen, Xia ; Wang, Xiaoliang
Author_Institution :
Inst. of Software, Acad. Sinica, Beijing, China
fYear :
2004
Firstpage :
242
Lastpage :
250
Abstract :
Automatic test data generation is a challenging task in software engineering research. This paper studies a path-oriented approach to the problem, which is based on the combination of symbolic execution and constraint solving. Methods for representing expressions and path conditions are discussed. An implemented toolkit is described with some examples. The toolkit transforms an input program (possibly embedded with assertions) to an extended finite state machine and then performs depth-first or breadth-first search on it. The goal is to find values for input variables such that a terminal state can be reached. If successful, input test data are found (which might reveal a bug in the program).
Keywords :
constraint handling; finite state machines; program testing; search problems; software engineering; automatic test data generation; breadth-first search; constraint solving; depth-first search; extended finite state machine; input program; input test data; input variables; path-oriented test data generation; program bug; software engineering; symbolic execution; terminal state; Automata; Automatic testing; Computer science; Flow graphs; Input variables; Laboratories; Programming; Software engineering; Software testing; System testing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Engineering and Formal Methods, 2004. SEFM 2004. Proceedings of the Second International Conference on
Print_ISBN :
0-7695-2222-X
Type :
conf
DOI :
10.1109/SEFM.2004.1347528
Filename :
1347528
Link To Document :
بازگشت