Object-Oriented Test Case Generation Using Teaching Learning-Based Optimization (TLBO) Algorithm

4Citations
Citations of this article
18Readers
Mendeley users who have this article in their library.

This article is free to access.

Abstract

Researchers are currently seeking effective methods for automated software testing to reduce time, avoid test case redundancy, and create comprehensive test cases to cover (paths, benches, conditions, and statements). Generating a minimum number of test cases and covering all code paths is challenging in automated test case generation. Therefore, the use of optimization algorithms has become a popular trend for generating test cases to achieve many goals. In this study, we used a teaching-learning-based optimization algorithm to generate the minimum number of test cases. We compared our results with those of other state-of-the-art methods based on the path coverage for ten Java programs. The motive for using this algorithm is to optimize the number of test cases that cover all code paths in the unit test. The results emphasize that the proposed algorithm generates the minimum number of test cases and covers all paths in the code at a full-coverage rate.

Cite

CITATION STYLE

APA

Al-Masri, O., & Al-Sorori, W. A. (2022). Object-Oriented Test Case Generation Using Teaching Learning-Based Optimization (TLBO) Algorithm. IEEE Access, 10, 110879–110888. https://doi.org/10.1109/ACCESS.2022.3214841

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free