Title :
PKorat: Parallel Generation of Structurally Complex Test Inputs
Author :
Siddiqui, Junaid Haroon ; Khurshid, Sarfraz
Author_Institution :
Univ. of Texas at Austin Austin, Austin, TX
Abstract :
Constraint solving lies at the heart of several specification-based approaches to automated testing. Korat is a previously developed algorithm for solving constraints in Java programs. Given a Java predicate that represents the desired constraints and a bound on the input size, Korat systematically explores the bounded input space of the predicate and enumerates inputs that satisfy the constraint. Korat search is largely sequential: it considers one candidate input in each iteration and it prunes the search space based on the candidates considered. This paper presents PKorat, a new parallel algorithm that parallelizes the Korat search. PKorat explores the same state space as Korat but considers several candidates in each iteration. These candidates are distributed among parallel workers resulting in an efficient parallel version of Korat. Experimental results using complex structural constraints from a variety of subject programs show significant speedups over the traditional Korat search.
Keywords :
Java; formal specification; program testing; Java programs; PKorat; automated testing; complex structural constraints; parallel algorithm; parallel generation; Automatic testing; Availability; Heart; Java; Multicore processing; Parallel algorithms; Sequential analysis; Software testing; Space exploration; State-space methods;
Conference_Titel :
Software Testing Verification and Validation, 2009. ICST '09. International Conference on
Conference_Location :
Denver, CO
Print_ISBN :
978-1-4244-3775-7
Electronic_ISBN :
978-0-7695-3601-9
DOI :
10.1109/ICST.2009.48