Automatic Software Testing Target Path Selection using K-Means Clustering Algorithm

Yan Zhang, Qiao Li, Xingya Wang, Cai Jingying, Xuefei Liu · International Journal of Performability Engineering · 2019

Path testing is an effective method of software testing.It is not realistic to achieve coverage for all paths during complex software testing.Selecting the correct paths as target paths is a key problem.A method of selecting target paths based on the K-means algorithm is presented in this study.First, we divide paths into different groups using the K-means algorithm, so that paths having high similarity are divided into the same group.Then, we choose the cluster centers as targets and ensure that the selected target paths have more considerable differentiation, which guarantees the adequacy of later testing.The experimental results demonstrate the effectiveness of the proposed method.

Read the paper · More papers on PaperTik