Projects per year
Abstract
In constraint-based program testing, sym- bolic execution is a technique which allows to generate test data exercising a given execution path, selected within the program to be tested. Applied to a set of paths covering a sufficient part of the code under test, this technique permits to generate automatically adequate test sets for units of code. As databases are ubiquitous in software, generalizing such a technique for efficient testing of programs manipulating databases is an interesting approach to enhance the reliability of software. In this work, we propose a relational symbolic execution algorithm to be used for testing of simple Java methods, reading and writing with transactional SQL in a relational database, subject to integrity constraints. This algorithm considers the Java method under test as a sequence of operations over a set of constrained relational variables, modeling both the database tables and the method variables. By integrating this relational model of the method and database with the classical symbolic execution process, the algorithm can generate a set of Alloy constraints for any finite path to test in the control-flow graph of the method. Solutions of these constraints are data which constitute a test case, including valid content for the database, which exercises the selected path in the method. A tool implementing the proposed algorithm is demonstrated over a number of examples.
Original language | English |
---|---|
Title of host publication | IEEE 13th International Working Conference on Source Code Analysis and Manipulation, SCAM 2013 |
Publisher | IEEE Computer society |
Pages | 179-188 |
Number of pages | 10 |
ISBN (Print) | 9781467357395 |
DOIs | |
Publication status | Published - 22 Sep 2013 |
Event | 2013 IEEE 13th International Working Conference on Source Code Analysis and Manipulation, SCAM 2013 - Eindhoven, Netherlands Duration: 22 Sep 2013 → 23 Sep 2013 |
Conference
Conference | 2013 IEEE 13th International Working Conference on Source Code Analysis and Manipulation, SCAM 2013 |
---|---|
Country | Netherlands |
City | Eindhoven |
Period | 22/09/13 → 23/09/13 |
Fingerprint Dive into the research topics of 'A relational symbolic execution algorithm for constraint-based testing of database programs'. Together they form a unique fingerprint.
Projects
- 1 Finished
-
Constraint-based test data generation for database-driven applications
Marcozzi, M., VANHOOF, W. & HAINAUT, J.
1/10/10 → 30/09/14
Project: PHD
Activities
- 1 Participation in conference
-
13th IEEE International Working Conference on Source Code Analysis and Manipulation
Michaël Marcozzi (Contributor)
22 Sep 2013 → 23 Sep 2013Activity: Participating in or organising an event types › Participation in conference