An AGENDA for testing relational database applications

David Chays, Yuetang Deng, Phyllis G. Frankl, Saikat Dan, Filippos I. Vokolos, Elaine J. Weyuker

Software Testing Verification and Reliability · 2004 · 127 citations · 24 references

Concepts

TL;DR

Database systems are critical to modern organizations, yet little research has addressed how to test them, and the database state before and after user operations, along with inputs and outputs, is pivotal in testing such applications. The paper aims to discuss testing issues, introduce a testing framework, and present AGENDA, a tool set to support this approach. AGENDA comprises a parsing tool that extracts schema and application data, a data population tool that satisfies constraints, a test case generator, a state checker, and an output verifier, with design and implementation details discussed and limited to single‑query applications. A complete prototype of this tool set has been developed based on the framework. © 2004 John Wiley & Sons, Ltd.

Abstract

Abstract 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 © 2004 John Wiley & Sons, Ltd.

References

24