|
ABSTRACT
When testing database applications, in addition to creating in-memory fixtures it is also necessary to create an initial database state that is appropriate for each test case. Current approaches either require exact database states to be specified in advance, or else generate a single initial state (under guidance from the user) that is intended to be suitable for execution of all test cases. The first method allows large test suites to be executed in batch, but requires considerable programmer effort to create the test cases (and to maintain them). The second method requires less programmer effort, but increases the likelihood that test cases will fail in non-fault situations, due to unexpected changes to the content of the database. In this paper, we propose a new approach in which the database states required for testing are specified intensionally, as constrained queries, that can be used to prepare the database for testing automatically. This technique overcomes the limitations of the other approaches, and does not appear to impose significant performance overheads.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
 |
1
|
Marcelo Arenas , Leopoldo Bertossi , Jan Chomicki, Consistent query answers in inconsistent databases, Proceedings of the eighteenth ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems, p.68-79, May 31-June 03, 1999, Philadelphia, Pennsylvania, United States
[doi> 10.1145/303976.303983]
|
| |
2
|
L. E. Bertossi and J. Chomicki. Query answering in inconsistent databases. In J. Chomicki, R. van der Meyden, and G. Saake, editors, Logics for Emerging Applications of Databases, pages 43--83. Springer, 2003.
|
 |
3
|
|
| |
4
|
L. Bravo and L. E. Bertossi. Logic programs for consistently querying data integration systems. In G. Gottlob and T. Walsh, editors, Proceedings of the 18th International Joint Conference on Artificial Intelligence (IJCAI), pages 10--15. Morgan Kaufmann, August 2003.
|
 |
5
|
|
 |
6
|
David Chays , Saikat Dan , Phyllis G. Frankl , Filippos I. Vokolos , Elaine J. Weber, A framework for testing database applications, Proceedings of the 2000 ACM SIGSOFT international symposium on Software testing and analysis, p.147-157, August 21-24, 2000, Portland, Oregon, United States
|
| |
7
|
David Chays , Yuetang Deng , Phyllis G. Frankl , Saikat Dan , Filippos I. Vokolos , Elaine J. Weyuker, An AGENDA for testing relational database applications: Research Articles, Software Testing, Verification & Reliability, v.14 n.1, p.17-44, March 2004
[doi> 10.1002/stvr.v14:1]
|
| |
8
|
J. Chomicki and J. Marcinkowski. On the computational complexity of minimal-change integrity maintenance in relational databases. In L. E. Bertossi, A. Hunter, and T. Schaub, editors, Inconsistency Tolerance, volume 3300 of Lecture Notes in Computer Science, pages 119--150. Springer, 2005.
|
 |
9
|
|
| |
10
|
Suzanne M. Embury , Sue M. Brandt , John S. Robinson , Iain Sutherland , Frank A. Bisby , W. Alex Gray , Andrew C. Jones , Richard J. White, Adapting integrity enforcement techniques for data reconciliation, Information Systems, v.26 n.8, p.657-689, December 2001
[doi> 10.1016/S0306-4379(01)00044-8]
|
| |
11
|
|
| |
12
|
|
| |
13
|
F. Haftmann, D. Kossmann, and A. Kreutz. Efficient regression tests for database applications. In Proceedings of the 2nd Biennial Conference on Innovative Data Systems Research (CIDR), pages 95--106. Online Proceedings, January 2005.
|
 |
14
|
|
 |
15
|
|
| |
16
|
|
| |
17
|
|
| |
18
|
|
| |
19
|
D. Willmor and S. M. Embury. Exploring test adequacy for database systems. In Proceedings of the 3rd UK Software Testing Research Workshop (UKTest), pages 123--133. The University of Sheffield, September 2005.
|
| |
20
|
|
CITED BY 7
|
|
|
|
|
|
|
|
Yannis Smaragdakis , Christoph Csallner , Ranjith Subramanian, Scalable automatic test data generation from modeling diagrams, Proceedings of the twenty-second IEEE/ACM international conference on Automated software engineering, p.4-13, November 05-09, 2007, Atlanta, Georgia, USA
|
|
|
Lihua Ran , Curtis Dyreson , Anneliese Andrews , Renée Bryce , Christopher Mallery, Building test cases and oracles to automate the testing of web database applications, Information and Software Technology, v.51 n.2, p.460-477, February, 2009
|
|
|
|
|
|
|
|
|
|
|