Table of Content

Open Access iconOpen Access

ARTICLE

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: email.

Computer Modeling in Engineering & Sciences 2019, 119(3), 409-425. https://doi.org/10.32604/cmes.2019.04681

Abstract

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.

Keywords


Cite This Article

APA Style
Alrawashed, T.A., Almomani, A., Althunibat, A., Tamimi, A. (2019). An automated approach to generate test cases from use case description model. Computer Modeling in Engineering & Sciences, 119(3), 409-425. https://doi.org/10.32604/cmes.2019.04681
Vancouver Style
Alrawashed TA, Almomani A, Althunibat A, Tamimi A. An automated approach to generate test cases from use case description model. Comput Model Eng Sci. 2019;119(3):409-425 https://doi.org/10.32604/cmes.2019.04681
IEEE Style
T.A. Alrawashed, A. Almomani, A. Althunibat, and A. Tamimi "An Automated Approach to Generate Test Cases From Use Case Description Model," Comput. Model. Eng. Sci., vol. 119, no. 3, pp. 409-425. 2019. https://doi.org/10.32604/cmes.2019.04681

Citations




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

    View

  • 1355

    Download

  • 0

    Like

Related articles

Share Link