https://hal.inria.fr/hal-01055252Gladisch, Christoph D.Christoph D.GladischDepartment of Computer Science - University of Koblenz-LandauTest Data Generation for Programs with Quantified First-Order Logic SpecificationsHAL CCSD2010[INFO.INFO-DL] Computer Science [cs]/Digital Libraries [cs.DL]Ifip, HalAlexandre Petrenko; Adenilso Simão; José Carlos Maldonado2014-08-12 09:11:352017-11-17 11:56:012014-08-12 09:27:20enConference papershttps://hal.inria.fr/hal-01055252/document10.1007/978-3-642-16573-3_12application/pdf1We present a novel algorithm for test data generation that is based on techniques used in formal software verification. Prominent examples of such formal techniques are symbolic execution, theorem proving, satisfiability solving, and usage of specifications and program annotations such as loop invariants. These techniques are suitable for testing of small programs, such as, e.g., implementations of algorithms, that have to be tested extremely well. In such scenarios test data is generated from test data constraints which are first-order logic formulas. These constraints are constructed from path conditions, specifications, and program annotation describing program paths that are hard to be tested randomly. A challenge is, however, to solve quantified formulas. The presented algorithm is capable of solving quantified formulas that state-of-the-art satisfiability modulo theory (SMT) solvers cannot solve. The algorithm is integrated in the formal verification and test generation tool KeY .