Clustering Deviations for Black Box Regression Testing of Database Applications

2016 ◽  
Vol 65 (1) ◽  
pp. 4-18 ◽  
Author(s):  
Erik Rogstad ◽  
Lionel C. Briand
Author(s):  
Ramzi A. Haraty ◽  
Nashat Mansour ◽  
Bassel A. Daou

Database applications features such as Structured Query Language programming, exception handling, integrity constraints, and table triggers pose difficulties for maintenance activities, especially for regression testing that follows modifying database applications. In this chapter, we address these difficulties and propose a two-phase regression testing methodology. In phase 1, we explore control flow and data flow analysis issues of database applications. Then, we propose an impact analysis technique that is based on dependencies that exist among the components of database applications. This analysis leads to selecting test cases from the initial test suite for regression testing the modified application. In phase 2, we propose two algorithms for reducing the number of regression test cases. The Graph Walk algorithm walks through the control flow graph of database modules and selects a safe set of test cases to retest. The Call Graph Firewall algorithm uses a firewall for the inter-procedural level. Our experience with this regression testing methodology shows that the impact analysis technique is adequate for selecting regression tests and that phase 2 techniques can be used for further reduction in the number of these tests.


Author(s):  
DOLORES CUADRA ◽  
HARITH AL-JUMAILY ◽  
ELENA CASTRO ◽  
MANUEL VELASCO

The development of database applications in most CASE tools has been insufficient because most of these tools do not provide the software necessary to validate these applications. Validation means ensuring whether a given application fulfils the user requirements. We suggest validation of database applications by using the functional testing technique, which is a fundamental black-box testing technique for checking the software without being concerned about its implementation and structure. Our main contribution to this work is in providing a MDA approach for deriving testing software from the OCL specification of the integrity constraints. This testing software is used to validate the database applications, which are used to enforce these constraints. The generated testing software includes three components: validation queries, test cases and initial data inserted before the testing process. Our approach is implemented as an add-in tool in Rational Rose called OCL2TestSW.


2019 ◽  
Vol 149 ◽  
pp. 318-339 ◽  
Author(s):  
Anneliese Andrews ◽  
Ahmed Alhaddad ◽  
Salah Boukhris

Sign in / Sign up

Export Citation Format

Share Document