Title :
Kiasan/KUnit: Automatic Test Case Generation and Analysis Feedback for Open Object-oriented Systems
Author :
Deng, Xianghua ; Robby ; Hatcliff, John
Author_Institution :
Dept. of Comput. & Inf. Sci., Kansas State Univ., Manhattan, KS
Abstract :
We demonstrate how a static analysis feedback and unit test case generation framework, KUnit, built on the Bogor/Kiasan symbolic execution engine provides an effective unit test case generation for sequential heap-intensive Java programs (whose computation structures are incomplete - open systems). KUnit leverages method contract information to better deal with open object-oriented systems and to support automatic mock object creation. To facilitate application to realistic software, KUnit allows the scope/cost of the analysis and test case generation to be controlled via notions of heap configuration coverage. In a broad experimental study on 23 Java data structure modules, we show that it is able to: (a) achieve 100% feasible branch coverage on almost all methods by using only small heap configurations; (b) improve on competing tools for coverage achieved; size of test suites; and time to generate test suites.
Keywords :
Java; automatic test pattern generation; object-oriented programming; open systems; program testing; Bogor/Kiasan symbolic execution engine; Kiasan/KUnit automatic test case generation; automatic mock object creation; open object-oriented system; sequential heap-intensive Java programs; static analysis feedback; Application software; Automatic testing; Contracts; Costs; Engines; Feedback; Java; Open systems; Sequential analysis; System testing;
Conference_Titel :
Testing: Academic and Industrial Conference Practice and Research Techniques - MUTATION, 2007. TAICPART-MUTATION 2007
Conference_Location :
Windsor
Print_ISBN :
978-0-7695-2984-4
DOI :
10.1109/TAIC.PART.2007.32