Gupta, Bhanu Pratap ; Vira, Devang ; Sudarshan, S. (2010) X-data: Generating test data for killing SQL mutants In: IEEE 26th International Conference on Data Engineering (ICDE 2010).
Full text not available from this repository.
Official URL: http://doi.org/10.1109/ICDE.2010.5447862
Related URL: http://dx.doi.org/10.1109/ICDE.2010.5447862
Abstract
Checking if an SQL query has been written correctly is not an easy task. Formal verification is not applicable, since it is based on comparing a specification with an implementation, whereas SQL queries are essentially a specification without any implementation. Thus, the standard approach for testing queries is to manually check query results on test datasets. Intuitively, a mutant is a query variant that could have been the correct query if the query was in error; a mutant is killed by a dataset if the original query and the mutant return different results on the dataset. In this paper, we address the problem of generation of test data for an SQL query, to kill mutants. Our work focuses in particular on a class of join/outer-join mutants, 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, combining them into a single dataset where possible. In the absence of foreign-key constraints, and under certain assumptions, the test suite is complete, i.e. it kills all nonequivalent mutations, in the class of join-type mutations that we consider. We also consider some common types of where-clause predicate mutants. Our techniques have been implemented in a prototype data generation tool.
Item Type: | Conference or Workshop Item (Paper) |
---|---|
Source: | Copyright of this article belongs to IEEE |
ID Code: | 128484 |
Deposited On: | 25 Oct 2022 04:19 |
Last Modified: | 15 Nov 2022 10:04 |
Repository Staff Only: item control page