Back to Search Start Over

A novel test case prioritization approach for black‐box testing based on K‐medoids clustering.

Authors :
Chen, Jinfu
Gu, Yuechao
Cai, Saihua
Chen, Haibo
Chen, Jingyi
Source :
Journal of Software: Evolution & Process; Apr2024, Vol. 36 Issue 4, p1-17, 17p
Publication Year :
2024

Abstract

Regression testing is an essential and expensive process in software testing. However, there may be insufficient resources for the execution of all test cases during regression testing. Test case prioritization (TCP) techniques improve the efficiency of regression testing by adjusting the test case execution sequence. Traditional TCP techniques usually rely on the historical execution information of the software under test for more efficient results. String distance‐based TCP (SD‐TCP) avoids these limitations; it uses only the textual difference information of the test cases themselves for prioritization. However, the time overhead on the sorting process of this method is not ideal, and the extreme test case inputs have an impact on the stability of the method. To address these problems, we propose a novel test case prioritization strategy, it first classifies the test cases more finely using the K‐medoids algorithm and then transforms the set into subsequences and improves the early diversity by greedy sorting within clusters. Finally, the test cases are selected through a polling strategy to compose the execution sequence. Extensive experimental results demonstrate that the proposed approach outperforms SD‐TCP in better time efficiency on test case prioritization; it also has a higher average percentage of fault detected (APFD) value than random prioritization (RP) and SD‐TCP. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
20477473
Volume :
36
Issue :
4
Database :
Complementary Index
Journal :
Journal of Software: Evolution & Process
Publication Type :
Academic Journal
Accession number :
176450867
Full Text :
https://doi.org/10.1002/smr.2565