Title :
Fault-based testing of database application programs with conceptual data model
Author :
Chan, W.K. ; Cheung, S.C. ; Tse, T.H.
Author_Institution :
Hong Kong Univ. of Sci. & Technol., China
Abstract :
Database application programs typically contain program units that use SQL statements to manipulate records in database instances. Testing the correctness of data manipulation by these programs is challenging. When a tester provides a database instance to test such a program, the program unit may output faulty SQL statements and, hence, manipulate inappropriate database records. Nonetheless, these failures may only be revealed in very specific database instances. This paper proposes to integrate SQL statements and the conceptual data models of an application for fault-based testing. It proposes a set of mutation operators based on the standard types of constraint used in the enhanced entity-relationship model. These operators are semantic in nature. This semantic information guides the construction of affected attributes and join conditions of mutants. The usefulness of our proposal is illustrated by an example in which a missing-record fault is revealed.
Keywords :
SQL; entity-relationship modelling; program testing; SQL statement; conceptual data model; data manipulation; database application program; database instances; database record; entity-relationship model; fault-based testing; Application software; Data models; Database languages; Database systems; Genetic mutations; Operating systems; Proposals; Software quality; Software testing; System testing; database application testing; fault-based testing; semantic mutants.;
Conference_Titel :
Quality Software, 2005. (QSIC 2005). Fifth International Conference on
Print_ISBN :
0-7695-2472-9
DOI :
10.1109/QSIC.2005.27