Table of Content

Open AccessOpen Access


An Automated Approach to Generate Test Cases From Use Case Description Model

Thamer A. Alrawashed1,*, Ammar Almomani2, Ahmad Althunibat1, Abdelfatah Tamimi1

Department of Software Engineering, Alzaytoonah University of Jordan, Airport Street, Amman, Jordan.
IT-department, Al-Huson University College, Al-Balqa Applied University, P. O. Box, Salt, Jordan.

* Corresponding Author: Thamer A. Alrawashed. Email: .

Computer Modeling in Engineering & Sciences 2019, 119(3), 409-425.


Test complexity and test adequacy are frequently raised by software developers and testing agents. However, there is little research works at this aspect on specification-based testing at the use case description level. Thus, this research proposes an automatic test cases generator approach to reduce the test complexity and to enhance the percentage of test coverage. First, to support the infrastructure for performing automatic, this proposed approach refines the use cases using use case describing template and save it in the text file. Then, the saved file is input to the Algorithm of Control Flow Diagram (ACFD) to convert use case details to a control flow diagram. After that, the Proposed Tool of Generating Test Paths (PTGTP) is used to generate test cases from the control flow diagram. Finally, the genetic algorithm associated with transition coverage is adapted to optimize and evaluate the adequacy of such test cases. A money withdrawal use case in the ATM system is used as an ongoing case study. Preliminary results show that the generated test cases achieve high coverage with an optimal test case. This automatic test case generation approach is effective and efficient. Therefore, it could promote to use other test case coverage criteria.


Cite This Article

Alrawashed, T. A., Almomani, A., Althunibat, A., Tamimi, A. (2019). An Automated Approach to Generate Test Cases From Use Case Description Model. CMES-Computer Modeling in Engineering & Sciences, 119(3), 409–425.


This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 1975


  • 1069


  • 0


Related articles

Share Link