Download PDF

Logic-Based Program Synthesis and Transformation, Date: 2009/09/09 - 2009/09/11, Location: Coimbra, Portugal

Publication date: 2010-01-01
Volume: 6037 Pages: 128 - 142
ISBN: 3642125913, 978-3-642-12591-1 ISSN: 0302-9743
Publisher: Springer

Lecture Notes in Computer Science

Author:

Degrave, Francois
Schrijvers, Tom ; Vanhoof, Wim ; De Schreye, D

Keywords:

software testing, white box tests, constraint programming, Science & Technology, Technology, Computer Science, Software Engineering, Computer Science, Theory & Methods, Computer Science

Abstract:

In this paper, we propose an approach for automated test case generation based on techniques from constraint programming (CP). We advocate the use of standard CP search strategies in order to express preferences on the generated test cases and to obtain the desired degree of coverage. We develop our framework in the concrete context of an imperative language and show that the technique is sufficiently powerful to deal with arbitrary pointer-based data-structures allocated on the heap.