Applying black-box testing to UML/OCL database models

被引:5
作者
Aljumaily, Harith [1 ]
Cuadra, Dolores [1 ]
Martinez, Paloma [1 ]
机构
[1] Univ Carlos III Madrid, Dept Comp Sci, Madrid 28911, Spain
关键词
Class diagram testing; Class diagram validation; Black-box testing; Software testing; VALIDATING UML; SOFTWARE; ENVIRONMENT;
D O I
10.1007/s11219-012-9192-9
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Most Unified Modeling Language (UML) computer-aided software engineering tools have been insufficient in the development process because they provide little support for conceptual model testing. Model testing aims to ensure the correctness of a UML/OCL class diagram, or, in other words, that a given class diagram can perfectly meet the user's requirements. This study proposes the validation of class diagrams with black-box testing, a technique used to test software without focusing on the software's implementation or structure. An approach is proposed for the automatic transformation of the constraints of a UML/OCL class diagram into test cases. Following the creation of the test cases, they are executed with JUnit and the results produced are shown to the tester. To demonstrate the applicability of this approach, an effectiveness evaluation and an efficiency evaluation are performed here. Evaluation studies show that all faults included in a class diagram have been detected within an efficient time.
引用
收藏
页码:153 / 184
页数:32
相关论文
共 50 条
[1]   OCL2Trigger: Deriving active mechanisms for relational databases using Model-Driven Architecture [J].
Al-Jumaily, Harith T. ;
Cuadra, Dolores ;
Martinez, Paloma .
JOURNAL OF SYSTEMS AND SOFTWARE, 2008, 81 (12) :2299-2314
[2]  
[Anonymous], P INT C SOFTW ENG
[3]  
[Anonymous], P 25 INT C SOFTW ENG
[4]  
[Anonymous], SYST SCI P 25 HAW IN
[5]  
[Anonymous], 2 WORKSH MUT AN RAL
[6]  
[Anonymous], P 28 ANN INT C COMP
[7]  
[Anonymous], 2004, HDB MATH
[8]  
[Anonymous], DRESD OCL TOOLK
[9]  
[Anonymous], 100 JAV DAT
[10]  
[Anonymous], ACM SIGSOFT INT S SO