An OCL-Based approach to derive constraint test cases for database applications Articles uri icon

publication date

  • September 2011

start page

  • 621

end page

  • 645

issue

  • 5

volume

  • 21

international standard serial number (ISSN)

  • 0218-1940

abstract

  • Abstract: 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 appli-cations. Validation means ensuring whether a given application fulfils the user require-ments. 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 contribu-tion 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.

keywords

  • functional testing software; software validation; equivalence class testing; mda; case tools