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

Author:

Chen Jinfu12ORCID,Gu Yuechao12ORCID,Cai Saihua12ORCID,Chen Haibo12,Chen Jingyi12ORCID

Affiliation:

1. Jiangsu University Zhenjiang China

2. Jiangsu Key Laboratory of Security Technology for Industrial Cyberspace Zhenjiang China

Abstract

AbstractRegression 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.

Funder

National Key Research and Development Program of China

National Natural Science Foundation of China

Natural Science Foundation of Jiangsu Province

China Postdoctoral Science Foundation

Postdoctoral Science Foundation of Jiangsu Province

Qinglan Project of Jiangsu Province of China

Publisher

Wiley

Subject

Software

Cited by 4 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. A Novel Software Test Data Generation Framework based on Multi-level Fuzzy Clustering Algorithm;2024 5th International Conference on Image Processing and Capsule Networks (ICIPCN);2024-07-03

2. Exploiting DBSCAN and Combination Strategy to Prioritize the Test Suite in Regression Testing;IET Software;2024-04-04

3. An exploratory study of history-based test case prioritization techniques on different datasets;Baghdad Science Journal;2024-02-25

4. Black-Box Test Case Prioritization Using Log Analysis and Test Case Diversity;2023 IEEE 34th International Symposium on Software Reliability Engineering Workshops (ISSREW);2023-10-09

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3