The Community for Technology Leaders
2012 IEEE Fifth International Conference on Software Testing, Verification and Validation (2012)
Montreal, Quebec Canada
Apr. 17, 2012 to Apr. 21, 2012
ISBN: 978-0-7695-4670-4
pp: 91-100
Constraint-based testing is a methodology for finding bugs in code, which has been successfully used for testing real systems. A key element of the methodology is generation of test inputs from input constraints, i.e., properties of desired inputs, which is performed by solving the constraints. We present a novel approach to optimize input generation from imperative constraints, i.e., constraints written as predicates in an imperative language. A well known technique for solving such constraints is execution-driven monitoring, where the given predicate is executed on candidate inputs to filter and prune invalid inputs, and generate valid ones. Our insight is that a lightweight static data-flow analysis of the given imperative constraint can enable more efficient solving. This paper describes an approach that embodies our insight and evaluates it using a suite of well-studied subject constraints. The experimental results show our approach provides substantial speedup over previous work.
Constraint-based testing, static data-flow analysis, multi-value comparisons

D. Marinov, J. H. Siddiqui and S. Khurshid, "Lightweight Data-Flow Analysis for Execution-Driven Constraint Solving," 2012 IEEE Fifth International Conference on Software Testing, Verification and Validation(ICST), Montreal, Quebec Canada, 2012, pp. 91-100.
215 ms
(Ver 3.3 (11022016))