• KSII Transactions on Internet and Information Systems
    Monthly Online Journal (eISSN: 1976-7277)

A UML-based Approach towards Test Case Generation and Optimization


Abstract

Software testing is an important phase as it ensures the software quality. The software testing process comprises of three steps: generation, execution, and evaluation of test cases. Literature claims the usage of single and multiple 'Unified Modeling Language' (UML) diagrams to generate test cases. Using multiple UML diagrams increases test case coverage. However, the existing approaches show limitations in test case generation from UML diagrams. Therefore, in this research study, we propose an approach to generate the test cases using UML State Chart Diagram (SCD), Activity Diagram (AD), and Sequence Diagram (SD). The proposed approach transforms UML diagrams into intermediate forms: SCD Graph, AD Graph, and SD Graph respectively. Furthermore, by integrating these three graphs, a System Testing Graph (STG) is formed. Finally, test cases are identified from STG by using a traversal algorithm such as Depth First Search (DFS) that is an optimization method. The results show that the proposed approach is better compared to existing approaches in terms of coverage and performance. Moreover, the generated test cases have the ability to detect faults at the unit level, integration, and system level testing.


Statistics

Show / Hide Statistics

Statistics (Cumulative Counts from December 1st, 2015)
Multiple requests among the same browser session are counted as one view.
If you mouse over a chart, the values of data points will be shown.


Cite this article

[IEEE Style]
S. Saleem, S. U. R. Malik, B. Mehboob, R. Alroobaea, S. Algarni, A. M. Baqasah, N. Ahmad, M. Hasnain, "A UML-based Approach towards Test Case Generation and Optimization," KSII Transactions on Internet and Information Systems, vol. 18, no. 3, pp. 633-652, 2024. DOI: 10.3837/tiis.2024.03.006.

[ACM Style]
Shahid Saleem, Saif U. R. Malik, Bilal Mehboob, Roobaea Alroobaea, Sultan Algarni, Abdullah M. Baqasah, Naveed Ahmad, and Muhammad Hasnain. 2024. A UML-based Approach towards Test Case Generation and Optimization. KSII Transactions on Internet and Information Systems, 18, 3, (2024), 633-652. DOI: 10.3837/tiis.2024.03.006.

[BibTeX Style]
@article{tiis:90673, title="A UML-based Approach towards Test Case Generation and Optimization", author="Shahid Saleem and Saif U. R. Malik and Bilal Mehboob and Roobaea Alroobaea and Sultan Algarni and Abdullah M. Baqasah and Naveed Ahmad and Muhammad Hasnain and ", journal="KSII Transactions on Internet and Information Systems", DOI={10.3837/tiis.2024.03.006}, volume={18}, number={3}, year="2024", month={March}, pages={633-652}}