Title :
Minimization of randomized unit test cases
Author :
Lei, Yong ; Andrews, James H.
Author_Institution :
Dept. of Comput. Sci., Western Ontario Univ., London, Ont.
Abstract :
We describe a framework for randomized unit testing, and give empirical evidence that generating unit test cases randomly and then minimizing the failing test cases results in significant benefits. Randomized generation of unit test cases (sequences of method calls) has been shown to allow high coverage and to be highly effective. However, failing test cases, if found, are often very long sequences of method calls. We show that Zeller and Hildebrandt´s test case minimization algorithm significantly reduces the length of these sequences. We study the resulting benefits qualitatively and quantitatively, via a case study on found open-source data structures and an experiment on lab-built data structures
Keywords :
data structures; program debugging; program testing; method call sequences; open-source data structures; randomized unit test case minimization; unit generation; Automatic testing; Computer aided software engineering; Computer science; Data structures; Debugging; Minimization methods; Open source software; Performance evaluation; Software testing; System testing;
Conference_Titel :
Software Reliability Engineering, 2005. ISSRE 2005. 16th IEEE International Symposium on
Conference_Location :
Chicago, IL
Print_ISBN :
0-7695-2482-6
DOI :
10.1109/ISSRE.2005.28