Title :
Dynamic Solution of Linear Constraints for Test Case Generation
Author :
Ernsting, Marko ; Majchrzak, Tim A. ; Kuchen, Herbert
Author_Institution :
Dept. of Inf. Syst., Univ. of Munster, Munster, Germany
Abstract :
The manual generation of test cases for unit tests is tedious. We have developed the tool Muggl, which generates test cases based on symbolic execution and constraint solving. Solving constraints for this purpose is no trivial task and greatly attributes to the total runtime. Hence, we developed a solver for linear constraints adapted to the special needs of Muggl. It takes into account the particularities of constraint retrieval through symbolic execution. Specifically, it is capable of incremental addition and backtracking of constraints. Moreover, we have developed an approach to avoid rounding errors.
Keywords :
constraint handling; information retrieval; program testing; Muggl tool; constraint addition; constraint backtracking; constraint retrieval; constraint solving; linear constraints; symbolic execution; test case generation; Educational institutions; Equations; Information systems; Software engineering; Upper bound; Vectors; Writing; MILA; constraint solver; constraint solving; mixed-integer linear arithmetic; test case; test case generation;
Conference_Titel :
Theoretical Aspects of Software Engineering (TASE), 2012 Sixth International Symposium on
Conference_Location :
Beijing
Print_ISBN :
978-1-4673-2353-6
DOI :
10.1109/TASE.2012.39