DocumentCode
2087091
Title
Test Adequacy Evaluation for the User-database Interaction: A Specification-Based Approach
Author
Blanco, Raquel ; Tuya, Javier ; Seco, Rubén V.
Author_Institution
Comput. Sci. Dept., Univ. of Oviedo, Gijon, Spain
fYear
2012
fDate
17-21 April 2012
Firstpage
71
Lastpage
80
Abstract
Testing a database application is a challenging process where both the database and the user interaction have to be considered in the design of test cases. This paper describes a specification-based approach to guide the design of test inputs (both the test database and the user inputs) for a database application and to automatically evaluate the test adequacy. First, the system specification of the application is modelled: (1) the structure of the database and the user interface are represented in a single model, called Integrated Data Model (IDM), (2) the functional requirements are expressed as a set of business rules, written in terms of the IDM. Then, a MCDC-based criterion is applied over the business rules to automatically derive the situations of interest to be tested (test requirements), which guide the design of the test inputs. Finally, the adequacy of these test inputs is automatically evaluated to determine whether the test requirements are covered. The approach has been applied to the TPC-C benchmark. The results show that it allows designing test cases that are able to detect interesting faults which were located in the procedural code of the implementation.
Keywords
database management systems; formal specification; program testing; user interfaces; business rules; database application testing; functional requirements; integrated data model; specification-based approach; system specification; test adequacy evaluation; test case design; user interface; user-database interaction; Benchmark testing; Business; Context; Data models; Databases; User interfaces; MCDC; coverage evaluation; database testing; model-based testing; specification-based testing; test input;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Testing, Verification and Validation (ICST), 2012 IEEE Fifth International Conference on
Conference_Location
Montreal, QC
Print_ISBN
978-1-4577-1906-6
Type
conf
DOI
10.1109/ICST.2012.87
Filename
6200098
Link To Document