Title :
iConSMutate: Concolic Testing of Database Applications Using Existing Database States Guided by SQL Mutants
Author :
Sarkar, Tamal ; Basu, Sreetama ; Wong, Johnson
Author_Institution :
Dept. of Comput. Sci., Iowa State Univ., Ames, IA, USA
Abstract :
Recent testing techniques for database applications typically include generation of both program inputs and database states (synthetic data). 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 of the original query are generated and mutation score is calculated. It is the percentage of mutants that can be killed using the given test cases. Higher mutation score indicates higher quality in terms of identifying programming errors. In existing approaches, the generated test cases achieve high structural coverage with the help of synthetic data, but may suffer from low mutation score. In practice, there may exist a copy of live databases that can be used for database application testing. Using an existing database state is desirable since it tends to be representative of real-world scenarios. We propose a novel framework called iConSMutate to generate test cases for a database application by reusing the existing database state. The generated test cases ensure high quality both in terms of coverage of code written in the host language and mutant detection of the queries written in the embedded language.
Keywords :
Java; database management systems; embedded systems; program testing; Java; SQL mutants; concolic testing; database application testing; database states; embedded language; generated test cases; host language; iConSMutate; live database; mutant detection; mutation testing; program inputs; programming error; real-world scenario; structural coverage; synthetic data; test case quality; testing technique; Concrete; Databases; Educational institutions; Electronic mail; Java; Testing; Automatic TestCase Generation; Database State Generation; Mutation Analysis; Program Analysis; Query Processing;
Conference_Titel :
Information Technology: New Generations (ITNG), 2014 11th International Conference on
Conference_Location :
Las Vegas, NV
Print_ISBN :
978-1-4799-3187-3
DOI :
10.1109/ITNG.2014.82