Title :
Goal-oriented test data generation for programs with pointer variables
Author :
Gotlieb, Arnaud ; Denmat, Tristan ; Botella, Bernard
Author_Institution :
IRISA/INRIA, France
Abstract :
Automatic test data generation leads to the identification of input values on which a selected path or a selected branch is executed within a program (path-oriented vs. goal-oriented methods). In both cases, several approaches based on constraint solving exist, but in the presence of pointer variables only path-oriented methods have been proposed. This paper proposes to extend an existing goal-oriented test data generation technique to deal with multi-level pointer variables. The approach exploits the results of an intraprocedural flow-sensitive points-to analysis to automatically generate goal-oriented test data at the unit testing level. Implementation is in progress and a few examples are presented.
Keywords :
automatic testing; constraint handling; data flow analysis; program testing; automatic test data generation; constraint solving; goal-oriented test data generation; intraprocedural flow-sensitive points-to analysis; multilevel pointer variables; program testing; Aerospace testing; Application software; Automatic testing; Computer applications; Data analysis; Data structures;
Conference_Titel :
Computer Software and Applications Conference, 2005. COMPSAC 2005. 29th Annual International
Print_ISBN :
0-7695-2413-3
DOI :
10.1109/COMPSAC.2005.81