Title :
SynConSMutate: Concolic Testing of Database Applications via Synthetic Data Guided by SQL Mutants
Author :
Sarkar, Tamal ; Basu, Sreetama ; Wong, Johnson
Author_Institution :
Dept. of Comput. Sci., Iowa State Univ., Ames, IA, USA
Abstract :
Testing techniques for database applications typically include generation of database states (synthetic data) along with automatic generation of test cases. The quality of such test cases is evaluated on the basis of structural coverage of the host language (e.g., Java), whereas, the quality of test cases for the embedded language (e.g., SQL) is evaluated separately using mutation testing. In mutation testing, several mutants or variants of the original SQL query are generated and mutation score is calculated. It is the percentage of mutants that can be differentiated in terms of their results using the given test cases. Higher mutation score indicates higher quality of the test cases. In existing approaches the generated test cases achieve high structural coverage with respect to the generated synthetic data, but suffer from low mutation score with respect to the same data. We present a novel framework called textit{SynConSMutate} for test case and synthetic data generation for database applications. The generated test cases with respect to the newly generated synthetic data ensure high quality not only in terms of coverage of code written in the host language, but also in terms of mutant detection of the queries written in the embedded language.
Keywords :
SQL; program testing; query processing; relational databases; SQL mutants; SQL query; SynConSMutate; automatic test case generation; concolic testing; database applications; embedded language; host language; mutation testing; synthetic data generation; test case quality; Concrete; Databases; Educational institutions; Electronic mail; Java; Testing; Automatic Test Case Generation; Concolic Testing; Database Applications; Database State Generation; Mutation Analysis;
Conference_Titel :
Information Technology: New Generations (ITNG), 2013 Tenth International Conference on
Conference_Location :
Las Vegas, NV
Print_ISBN :
978-0-7695-4967-5
DOI :
10.1109/ITNG.2013.54