Logic-Based Program Synthesis and Transformation, Date: 2009/09/09 - 2009/09/11, Location: Coimbra, Portugal
Lecture Notes in Computer Science
Author:
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.