Mutating database queries

  • Authors:
  • Javier Tuya;Ma José Suárez-Cabal;Claudio de la Riva

  • Affiliations:
  • Department of Computer Science, University of Oviedo, Campus of Viesques, s/n, 33204 Gijón, Spain;Department of Computer Science, University of Oviedo, Campus of Viesques, s/n, 33204 Gijón, Spain;Department of Computer Science, University of Oviedo, Campus of Viesques, s/n, 33204 Gijón, Spain

  • Venue:
  • Information and Software Technology
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

A set of mutation operators for SQL queries that retrieve information from a database is developed and tested against a set of queries drawn from the NIST SQL Conformance Test Suite. The mutation operators cover a wide spectrum of SQL features, including the handling of null values. Additional experiments are performed to explore whether the cost of executing mutants can be reduced using selective mutation or the test suite size can be reduced by using an appropriate ordering of the mutants. The SQL mutation approach can be helpful in assessing the adequacy of database test cases and their development, and as a tool for systematically injecting faults in order to compare different database testing techniques.