Test Input Generation for Red-Black Trees using AbstractionWe consider the problem of test input generation for code that manipulates complex data structures. Test inputs are sequences of method calls from the data structure interface. We describe test input generation techniques that rely on state matching to avoid generation of redundant tests. Exhaustive techniques use explicit state model checking to explore all the possible test sequences up to predefined input sizes. Lossy techniques rely on abstraction mappings to compute and store abstract versions of the concrete states; they explore under-approximations of all the possible test sequences. We have implemented the techniques on top of the Java PathFinder model checker and we evaluate them using a Java implementation of red-black trees.
Document ID
20060019190
Acquisition Source
Ames Research Center
Document Type
Conference Paper
Authors
Visser, Willem (Research Inst. for Advanced Computer Science Moffett Field, CA, United States)
Pasareanu, Corina S. (QSS Group, Inc. Moffett Field, CA, United States)
Pelanek, Radek (Masaryk Univ., Brno Jihomoravsky, Czechoslovakia)