Projects per year
Abstract
Databases are ubiquitous in software and testing of programs manipulating databases is thus essential to enhance the reliability of software. In this paper, we describe a clean and unified approach to automatically generate test inputs for such database programs. First, we propose a formal language, called ImperDB, to model database programs. ImperDB allows to model common program behaviors and data structures, as well as typical interaction scenarios between programs and databases. Secondly, we present a static analysis technique to generate test inputs for ImperDB programs, according to any chosen structural adequacy criterion. The technique considers an ImperDB program as a sequence of operations over a set of relational variables, modeling both the database original content and the program inputs. The problem of finding test inputs forcing the execution of a given path can then be transformed into the problem of solving constraints over the relational variables associated to the program. These constraints are expressed with the Alloy language and solved by the Alloy analyzer.
Original language | English |
---|---|
Title of host publication | Proceedings of the Fifth International Workshop on Testing Database Systems |
Place of Publication | New York, NY, USA |
Publisher | ACM Press |
Pages | 6:1-6:6 |
Number of pages | 6 |
DOIs | |
Publication status | Published - 2012 |
Publication series
Name | DBTest '12 |
---|---|
Publisher | ACM |
Fingerprint
Dive into the research topics of 'Test input generation for database programs using relational constraints'. Together they form a unique fingerprint.Projects
- 1 Finished
-
Constraint-based test data generation for database-driven applications
Marcozzi, M. (Researcher), Vanhoof, W. (CoI) & Hainaut, J.-L. (CoI)
1/10/10 → 30/09/14
Project: PHD
Activities
- 1 Participation in conference
-
ACM SIGMOD/PODS Conference
Marcozzi, M. (Contributor)
20 May 2012 → 24 May 2012Activity: Participating in or organising an event types › Participation in conference