Test Data Generation for Database Applications

Agrawal, Pooja ; Chandra, Bikash ; Emani, K. Venkatesh ; Garg, Neha ; Sudarshan, S. (2018) Test Data Generation for Database Applications In: 34th International Conference on Data Engineering (ICDE).

Full text not available from this repository.

Official URL: http://doi.org/10.1109/ICDE.2018.00191

Related URL: http://dx.doi.org/10.1109/ICDE.2018.00191

Abstract

Unit test cases have become an essential tool to test application code. Several applications make use of SQL queries in order to retrieve or update information from a database. Database queries for these applications are written natively in SQL using JDBC or using ORM frameworks like Hibernate. Unit testing these applications is typically done by loading a fixed dataset and running unit tests. However with fixed datasets, errors in queries may be missed. In this demonstration, we present a system that takes as input a database application program, and generates datasets and unit tests using the datasets to test the correctness of function with queries in the application. Our techniques are based on static program analysis and mutation testing. We consider database applications written in Java using JDBC or Hibernate APIs. The front-end of our system is a plugin to the IntelliJ IDEA IDE. We believe that such a system would be of great value to application developers and testers.

Item Type:Conference or Workshop Item (Paper)
Source:Copyright of this article belongs to IEEE
ID Code:128453
Deposited On:21 Oct 2022 06:48
Last Modified:14 Nov 2022 12:34

Repository Staff Only: item control page