Title :
Automatic Test Generation for Dynamic Data Structures
Author :
Zhao, Ruilian ; Li, Qing
Author_Institution :
Beijing Univ. of Chem. Technol., Beijing
Abstract :
Nowadays, many test data generation approaches are employed on basic numerical types such as integer and real data. However, in real practice, pointers and dynamic data structures are so widely used that most recent test data generation approaches are restricted in application. This paper proposes a path-oriented test data generation approach specifically for dynamic pointer data. Firstly, a least restrictive shape involved in input structure is created, which meets pointer constraints for a given path. Secondly, the value of data field in the created shape is determined. The experiment results show that our approach is effective and practicable in test generation for dynamic pointer data.
Keywords :
automatic test pattern generation; data structures; program testing; automatic path-oriented test data generation; dynamic data structures; least restrictive shape; Automatic testing; Binary trees; Chemical technology; Conference management; Data structures; Shape; Software engineering; Software testing; Terminology; Tree data structures; automatic test data generation; dynamic pointer data; least restrictive; path testing; shape;
Conference_Titel :
Software Engineering Research, Management & Applications, 2007. SERA 2007. 5th ACIS International Conference on
Conference_Location :
Busan
Print_ISBN :
0-7695-2867-8
DOI :
10.1109/SERA.2007.59