Applying black-box testing to UML/OCL database models Articles uri icon

publication date

  • June 2014

start page

  • 153

end page

  • 184


  • 2


  • 22

International Standard Serial Number (ISSN)

  • 0963-9314

Electronic International Standard Serial Number (EISSN)

  • 1573-1367


  • 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.


  • class diagram testing; class diagram validation; black-box testing; software testing; validating uml; software; environment; ocl