A Symbolic Java Virtual Machine for Test Case Generation

R.A. Müller, C. Lembeck, and H. Kuchen (Germany)

Keywords

Software Testing, Structural Testing, Symbolic Virtual Machine, Java

Abstract

Quality management is becoming a more and more impor tant part of the software development process. As software testing is currently understood as the core function of the quality managment, developers start using software testing tools to facilitate their work. However most existing tools just manage given sets of test cases and check them against pre-defined testing criteria. The necessary test case discov ery is usually up to user, who has to generate the test cases in an ad-hoc approach with only minimal support from the software. GlassTT, the tool we present in this paper, faces this problem by creating the needed test cases for a given criterion for a Java class file. It uses a symbolic Java virtual machine to generate constraints representing the conditions for the control flow under consideration. The system can employ a parameterizeable test criterion such as data-flow coverage. The constraint solvers embedded in the tool are capable of solving linear and non-linear constraints. They are encapsulated in an incremental constraint solver man ager, which dynamically chooses an appropriate constraint solver.

Important Links:



Go Back