Dynamic Solution of Linear Constraints for Test Case Generation

Ernsting Marko, Majchrzak Tim A., Kuchen Herbert


Zusammenfassung
The manual generation of test cases for unit testsis tedious. We have developed the tool Muggl, which generatestest cases based on symbolic execution and constraint solving.Solving constraints for this purpose is no trivial task and greatlyattributes to the total runtime. Hence, we developed a solver forlinear constraints adapted to the special needs of Muggl. It takesinto account the particularities of constraint retrieval throughsymbolic execution. Specifically, it is capable of incrementaladdition and backtracking of constraints. Moreover, we havedeveloped an approach to avoid rounding errors.

Schlüsselwörter
test-case generation; symbolic execution; Java; constraint solving; simplex algorithm



Publikationstyp
Forschungsartikel in Sammelband (Konferenz)

Begutachtet
Ja

Publikationsstatus
Veröffentlicht

Jahr
2012

Konferenz
6th International Symposium on Theoretical Aspects of Software Engineering

Konferenzort
Beijing, China

Buchtitel
2012 Sixth International Conference on Theoretical Aspects of Software Engineering

Herausgeber
Margaria Tiziana, Qiu Zongyan, Yang Hongli

Erste Seite
271

Letzte Seite
274

Verlag
IEEE

Sprache
Englisch

ISBN
978-0-7695-4751-0