Command-Form Coverage for Testing Database Applications
Authors:
- 1 September 2006
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 19384300,p. 69-80
Abstract
The testing of database applications poses new challenges for software engineers. In particular, it is difficult to thoroughly test the interactions between an application and its underlying database, which typically occur through dynamically-generated database commands. Because traditional code-based coverage criteria focus only on the application code, they are often inadequate in exercising these commands. To address this problem, we introduce a new test adequacy criterion that is based on coverage of the database commands generated by an application and specifically focuses on the application-database interactions. We describe the criterion, an analysis that computes the corresponding testing requirements, and an efficient technique for measuring coverage of these requirements. We also present a tool that implements our approach and a preliminary study that shows the approach's potential usefulness and feasibilityKeywords
This publication has 14 references indexed in Scilit:
- The essence of command injection attacks in web applications2006
- AMNESIA2005
- A safe regression test selection technique for database-driven applications2005
- SQL DOM2005
- Using an SQL coverage measurement for testing database applications2004
- Static checking of dynamically generated queries in database applications2004
- A framework for testing database applications2000
- An applicable family of data flow testing criteriaIEEE Transactions on Software Engineering, 1988
- The category-partition method for specifying and generating functional testsCommunications of the ACM, 1988
- The applicability of program schema results to programsInternational Journal of Parallel Programming, 1979