DocumentCode :
2351508
Title :
A Comparison of Constraint-Based and Sequence-Based Generation of Complex Input Data Structures
Author :
Sharma, Rohan ; Gligoric, Milos ; Jagannath, Vilas ; Marinov, Darko
Author_Institution :
Dept. of Comput. Sci., Univ. of Illinois, Urbana, IL, USA
fYear :
2010
fDate :
6-10 April 2010
Firstpage :
337
Lastpage :
342
Abstract :
Generation of complex input data structures is one of the challenging tasks in testing. Manual generation of such structures is tedious and error-prone. Automated generation approaches include those based on constraints, which generate structures at the concrete representation level, and those based on sequences of operations, which generate structures at the abstract representation level by inserting or removing elements to or from the structure. In this paper, we compare these two approaches for five complex data structures used in previous research studies. Our experiments show several interesting results. First, constraint-based generation can generate more structures than sequence-based generation. Second, the extra structures can lead to false alarms in testing. Third, some concrete representations of structures cannot be generated only with sequences of insert operations. Fourth, slightly different implementations of the same data structure can behave differently in testing.
Keywords :
data structures; program testing; abstract representation level; complex input data structures; concrete representation level; constraint-based generation; data structure testing; sequence-based generation; Computer bugs; Computer errors; Computer science; Concrete; Data structures; Software testing; Tree data structures; Tree graphs; constraint-based generation; input data structures; sequence-based generation; test input generation;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Testing, Verification, and Validation Workshops (ICSTW), 2010 Third International Conference on
Conference_Location :
Paris
Print_ISBN :
978-1-4244-6773-0
Type :
conf
DOI :
10.1109/ICSTW.2010.7
Filename :
5463666
Link To Document :
بازگشت