DocumentCode :
1726404
Title :
Automatic generation of database instances for white-box testing
Author :
Zhang, Jian ; Xu, Chen ; Cheung, S.C.
Author_Institution :
Inst. of Software, Acad. Sinica, Beijing, China
fYear :
2001
fDate :
6/23/1905 12:00:00 AM
Firstpage :
161
Lastpage :
165
Abstract :
Testing is a critical activity for database application programs as faults if undetected could lead to unrecoverable data loss. Database application programs typically contain statements written in an imperative programming language with embedded data manipulation commands, such as SQL. However relatively little study has been made in the testing of database application programs. In particular, few testing techniques explicitly consider the inclusion of database instances in the selection of test cases and the generation of test data input. In this paper, we study the generation of database instances that respect the semantics of SQL statements embedded in a database application program. The paper also describes a supporting tool which generates a set of constraints. These constraints collectively represent a property against which the program is tested. Database instances for program testing can be derived by solving the set of constraints using existing constraint solvers
Keywords :
SQL; automatic programming; program testing; relational databases; SQL; automatic generation of database instances; database application programs; embedded data manipulation commands; imperative programming language; white-box testing; Application software; Automatic testing; Calculus; Computer science; Database systems; Logic; Relational databases; Software testing; System testing; Transaction databases;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Computer Software and Applications Conference, 2001. COMPSAC 2001. 25th Annual International
Conference_Location :
Chicago, IL
ISSN :
0730-3157
Print_ISBN :
0-7695-1372-7
Type :
conf
DOI :
10.1109/CMPSAC.2001.960612
Filename :
960612
Link To Document :
بازگشت