Back to Search
Start Over
Test Case Generation Evaluator for the Implementation of Test Case Generation Algorithms Based on Learning to Rank.
- Source :
- Computer Systems Science & Engineering; 2024, Vol. 48 Issue 2, p479-509, 31p
- Publication Year :
- 2024
-
Abstract
- In software testing, the quality of test cases is crucial, butmanual generation is time-consuming. Various automatic test case generation methods exist, requiring careful selection based on program features. Current evaluation methods compare a limited set of metrics, which does not support a larger number of metrics or consider the relative importance of each metric to the final assessment. To address this, we propose an evaluation tool, the Test Case Generation Evaluator (TCGE), based on the learning to rank (L2R) algorithm. Unlike previous approaches, our method comprehensively evaluates algorithms by considering multiple metrics, resulting in a more reasoned assessment. The main principle of the TCGE is the formation of feature vectors that are of concern by the tester. Through training, the feature vectors are sorted to generate a list, with the order of the methods on the list determined according to their effectiveness on the tested assembly. We implement TCGE using three L2R algorithms: Listnet, LambdaMART, and RFLambdaMART. Evaluation employs a dataset with features of classical test case generation algorithms and three metrics--Normalized Discounted Cumulative Gain (NDCG), Mean Average Precision (MAP), and Mean Reciprocal Rank (MRR). Results demonstrate the TCGE's superior effectiveness in evaluating test case generation algorithms compared to other methods. Among the three L2R algorithms, RFLambdaMART proves the most effective, achieving an accuracy above 96.5%, surpassing LambdaMART by 2% and Listnet by 1.5%. Consequently, the TCGE framework exhibits significant application value in the evaluation of test case generation algorithms. [ABSTRACT FROM AUTHOR]
Details
- Language :
- English
- ISSN :
- 02676192
- Volume :
- 48
- Issue :
- 2
- Database :
- Supplemental Index
- Journal :
- Computer Systems Science & Engineering
- Publication Type :
- Academic Journal
- Accession number :
- 176262146
- Full Text :
- https://doi.org/10.32604/csse.2023.043932