arrow
返回

Binary searching iterative algorithm for generating test cases to cover paths

delete2021-12-01
delete6
PRE
AI
Q
Qinghua Su
Z
Zhongbo Hu *
DOI:10.1016/j.asoc.2021.107910delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Similar paths are usually covered by similar test cases, which is one of the characteristics of automated test case generation for path coverage. Based on this characteristic, this paper proposes a novel search-based algorithm for generating test cases to satisfy path coverage criterion, called binary searching iterative algorithm. The proposed algorithm first selects an uncovered path as a target path, which is most similar to the path covered by a discovered test case. Then it performs a binary search in both the left and right regions of each element of the discovered test case under the guidance of a fitness function for the target path. Binary searching iterative algorithm can quickly find undiscovered test case covering the target path because of making full use of the characteristic of automated test case generation for path coverage. Experimental studies on six fog computing benchmark programs and six natural language processing benchmark programs show that the proposed algorithm can achieve the highest path coverage for all the twelve benchmark programs, and the average number of test cases obtained by the proposed algorithm is significantly less than those obtained by a number of state -of-the-art algorithms for eleven out of the twelve benchmark programs. Moreover, binary searching iterative algorithm is more appropriate for ALBD-based fitness function than BD-based fitness function. (c) 2021 Elsevier B.V. All rights reserved.
Keyword:
Automated test case generation
Binary searching iterative algorithm
Dimensional relevance of test cases
Path coverage

期刊

Applied Soft Computing 封面图
Applied Soft Computing
IF:
6.6
论文数:
1.4W
被引数:
4.8W

机构

Y
Yangtze University
学者数:
8.8K
论文数: 5.2K
被引数: 6.5K
引用论文

引用论文

err分享
err收藏
Erratum to: Feature selection environment for genomic applications
err2009-09-10
err0
errOAAI
errFabrício Martins Lopes; David Corrêa Martins; Roberto M Cesar
err分享
err收藏
err分享
err收藏
err分享
err收藏
Molecular mechanisms underlying the epigallocatechin-3-gallate-mediated inhibition of oral squamous cell carcinogenesis
err2023-09-01
err0
PREAI
errFengyang Jing; Lijing Zhu; Jiaying Bai; Xinjia Cai; Xuan Zhou; Jianyun Zhang; Heyu Zhang; Tiejun Li
err分享
err收藏
学者 查看更多内容