Utilizing Machine Learning Algorithms to Automatically Categorize Software Test Cases

Abdirahma, Abdullahi Ahmed and Hashi, Abdirahman Osman and Hashim, Siti Zaiton Mohd and Elmi, Mohamed Abdirahman (2023) Utilizing Machine Learning Algorithms to Automatically Categorize Software Test Cases. International Journal of Engineering Trends and Technology, 71 (9). pp. 27-35. ISSN 22315381

[thumbnail of SU-PG-2023-0076.pdf] Text
SU-PG-2023-0076.pdf - Published Version

Download (735kB)

Abstract

The creation of an efficient strategy to help decrease the problem of manual effort expended by software developers
when labelling software test cases has been the focus of many academic researchers. To ensure that all features and
applications are fully tested, it is important to have a framework that can effectively match the feature labels and test cases in the correct sequence. Irrelevant labeling of test cases can result in inaccuracy, so avoiding it is a key objective of this paper. As a result, the primary goal of this work is to extend a previous method for doing automatic directory categorization of test cases based on their test case description using the K-nearest-neighbor classifier, Logistic regression, Decision tree and MLP. Bag-of-word (Bow) is used as a vector representation and fits all classifiers. The experimental results reveal that using KNN-BOW and MLP have a higher score than Logistic regression and Decision tree since it outperformed and obtained 77% accuracy vs. 71% for KNN-TF-IDF. Meanwhile, we extended using KNN-BOW and MLP-BOW have scored a good result compared to Logistic regression and Decision tree, as it outperformed and achieved 77% accuracy in comparison with the 67% and 65% that Logistic regression and Decision tree achieved, respectively. As a result, KNN-BOW and MLP-BOW are
excellent choices for directory categorization based on test case descriptions. The suggested strategy contributes to the
domain by ensuring that machine learning algorithms can easily directly classify test-case descriptions.

Item Type: Article
Subjects: A General Works > AC Collections. Series. Collected works
Divisions: Faculty of Computing > Department of Information Technology
Depositing User: Center for Research and Development SIMAD University
Date Deposited: 24 Jan 2024 08:05
Last Modified: 24 Jan 2024 08:05
URI: https://repository.simad.edu.so/id/eprint/68

Actions (login required)

View Item
View Item