An AGENDA for testing relational database applications

被引:49
作者
Chays, D
Deng, YT
Frankl, PG [1 ]
Dan, S
Vokoloo, FI
Weyuker, EJ
机构
[1] Polytech Univ, Dept Comp Sci, Metrotech Ctr 6, Brooklyn, NY 11201 USA
[2] Adelphi Univ, Dept Math & Comp Sci, Garden City, NY 11530 USA
[3] Drexel Univ, Dept Comp Sci, Philadelphia, PA 19104 USA
[4] AT&T Labs Res, Florham Pk, NJ 07932 USA
关键词
database; software testing; test data;
D O I
10.1002/stvr.286
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Database systems play an important role in nearly every modern organization, yet relatively little research effort has focused on how to test them. This paper discusses issues arising in testing database systems, presents an approach to testing database applications, and describes AGENDA, a set of tools to facilitate the use of this approach. In testing such applications, the state of the database before and after the user's operation plays an important role, along with the user's input and the system output. A framework for testing database applications is introduced. A complete tool set, based on this framework, has been prototyped. The components of this system are a parsing tool that gathers relevant information from the database schema and application, a tool that populates the database with meaningful data that satisfy database constraints, a tool that generates test cases for the application, a tool that checks the resulting database state after operations are performed by a database application, and a tool that assists the tester in checking the database application's output. The design and implementation of each component of the system are discussed. The prototype described here is limited to applications consisting of a single SQL query. Copyright (C) 2004 John Wiley Sons, Ltd.
引用
收藏
页码:17 / 44
页数:28
相关论文
共 30 条
[1]  
[Anonymous], P 6 ACM SIGSOFT INT
[2]  
BOURNE KC, 1997, TESTING CLIENT SERVE
[3]  
Carey M. J., 1993, SIGMOD Record, V22, P12, DOI 10.1145/170036.170041
[4]  
CHAN MY, 1999, P 2 INT S COOP DAT S, P363
[5]   Demonstration of AGENDA tool set for testing relational database applications [J].
Chays, D ;
Deng, YT .
25TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, PROCEEDINGS, 2003, :802-803
[6]  
CHAYS D, 2003, THESIS POLYTECHNIC U
[7]  
CHAYS D, 2002, TRCIS200204 POL U DE
[8]  
CHAYS D, 2000, P INT S SOFTW TEST A, P147
[9]  
Dalal S. R., 1999, Proceedings of the 1999 International Conference on Software Engineering (IEEE Cat. No.99CB37002), P285, DOI 10.1109/ICSE.1999.841019
[10]  
DATE GJ, 1997, GUIDE SQL STANDARD