Title :
Automated Test Case Generation Based on Coverage Analysis
Author :
Majchrzak, Tim A. ; Kuchen, Herbert
Author_Institution :
Dept. of Inf. Syst., Univ. of Muenster, Muenster, Germany
Abstract :
We present a tool for the automated generation of unit tests. It symbolically executes Java bytecode in order to find execution paths through a program. To efficiently accomplish this task, it uses constraint solving, choice-point generation and backtracking. As the number of test cases found might be very high and most of them are redundant, we propose a novel way to eliminate test cases based on their contribution to the global coverage of the control-flow and data-flow. Besides discussing the techniques used to achieve this, we present experimental results to prove the feasibility of our approach.
Keywords :
Java; program testing; Java bytecode; automated test case generation; backtracking; choice-point generation; constraint solving; coverage analysis; Assembly; Automatic testing; Graphical user interfaces; Information systems; Java; Runtime environment; Software engineering; Software testing; System testing; Virtual machining; Java bytecode; constraint solving; symbolic execution; test case generation; test data generation;
Conference_Titel :
Theoretical Aspects of Software Engineering, 2009. TASE 2009. Third IEEE International Symposium on
Conference_Location :
Tianjin
Print_ISBN :
978-0-7695-3757-3
DOI :
10.1109/TASE.2009.33