Generating test data for killing SQL mutants: A constraint-based approach

Shah, Shetal ; Sudarshan, S. ; Kajbaje, Suhas ; Patidar, Sandeep ; Gupta, Bhanu Pratap ; Vira, Devang (2011) Generating test data for killing SQL mutants: A constraint-based approach In: IEEE 27th International Conference on Data Engineering.

Full text not available from this repository.

Official URL: http://doi.org/10.1109/ICDE.2011.5767876

Related URL: http://dx.doi.org/10.1109/ICDE.2011.5767876

Abstract

Complex SQL queries are widely used today, but it is rather difficult to check if a complex query has been written correctly. Formal verification based on comparing a specification with an implementation is not applicable, since SQL queries are essentially a specification without any implementation. Queries are usually checked by running them on sample datasets and checking that the correct result is returned; there is no guarantee that all possible errors are detected. In this paper, we address the problem of test data generation for checking correctness of SQL queries, based on the query mutation approach for modeling errors. Our presentation focuses in particular on a class of join/outer-join mutations, comparison operator mutations, and aggregation operation mutations, which are a common cause of error. To minimize human effort in testing, our techniques generate a test suite containing small and intuitive test datasets. The number of datasets generated, is linear in the size of the query, although the number of mutations in the class we consider is exponential. Under certain assumptions on constraints and query constructs, the test suite we generate is complete for a subclass of mutations that we define, i.e., it kills all non-equivalent mutations in this subclass.

Item Type:Conference or Workshop Item (Paper)
Source:Copyright of this article belongs to IEEE
ID Code:128481
Deposited On:21 Oct 2022 11:01
Last Modified:15 Nov 2022 10:00

Repository Staff Only: item control page