Academic
Publications
Testing Data Consistency of Data-Intensive Applications Using QuickCheck
Testing Data Consistency of Data-Intensive Applications Using QuickCheck   (Citations: 1)
BibTex | RIS | RefWorks Download
Many software systems are data-intensive and use a data management systems for data storage, such as Relational Database Management Systems (RDBMS). RDBMSs are used to store information in a structured manner, and to define several types of constraints on the data, to maintain basic consistency. The RDBMSs are mature, well tested, software products that one can trust to reliably store data and keep it consistent within the defined constraints.There are, however, scenarios in which passing the responsibility of consistency enforcement to the RDBMS is not convenient, or simply not possible. In such cases, the alternative is to have that responsibility at the business logic level of the system. Hence, from the point of view of testing data-intensive applications, one of the most relevant aspects is to ensure correctness of the business logic in terms of data consistency.In this article, we show how QuickCheck, a tool for random testing against specifications, can be used to test the business logic of an application to increase confidence on data integrity. We build an abstract model of the data containing the minimum information necessary to create meaningful test cases, while keeping its state substantially smaller than the data in the complete database. From the abstract model we automatically generate and execute test cases which check that data constraints are preserved.
Journal: Electronic Notes in Theoretical Computer Science - ENTCS , vol. 271, pp. 41-62, 2011
Cumulative Annual
View Publication
The following links allow you to view full publications. These links are maintained by other sources not affiliated with Microsoft Academic Search.
    • ...Recently, Castro and Arts [4] have developed a method for testing business logic constraints with Quviq QuickCheck...
    • ...We base our case study on the method developed by Castro and Arts [4], which is a general methodology for testing data consistency of database applications...
    • ...A more thorough description can be found in [4]...
    • ...The results of the project show that overall, the method described in the paper of Castro and Arts [4] and applied to the present case is easily extendable and applicable to appl ication which use databases such as Mnesia...
    • ...In this case study we wanted to evaluate the methodology of Castro and Arts [4] for testing data consistency of dataintensive applications by examining a database application which uses an unnormalized non relational database...

    Nicolae Paladiet al. Model based testing of data constraints: testing the business logic of...

Order by: