arrow
Return

Microscale search-based algorithm based on time-space transfer for automated test case generation

delete2025-01-15
delete0
delete
OA
AI
Y
Yinghan Hong
F
Fangqing Liu *
黄含 (Han Huang)
X
Xiang Yi
X
Xueming Yan
G
Guizhen Mai
DOI:10.1007/s40747-024-01706-7delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Automated test case generation for path coverage (ATCG-PC) is a major challenge in search-based software engineering due to its complexity as a large-scale black-box optimization problem. However, existing search-based approaches often fail to achieve high path coverage in large-scale unit programs. This is due to their expansive decision space and the presence of hundreds of feasible paths. In this paper, we present a microscale (small-size subsets of the decomposed decision set) search-based algorithm with time-space transfer (MISA-TST). This algorithm aims to identify more accurate subspaces consisting of optimal solutions based on two strategies. The dimension partition strategy employs a relationship matrix to track subspaces corresponding to the target paths. Additionally, the specific value strategy allows MISA-TST to focus the search on the neighborhood of specific dimension values rather than the entire dimension space. Experiments conducted on nine normal-scale and six large-scale benchmarks demonstrate the effectiveness of MISA-TST. The large-scale unit programs encompass hundreds of feasible paths or more than 1.00E+50 test cases. The results show that MISA-TST achieves significantly higher path coverage than other state-of-the-art algorithms in most benchmarks. Furthermore, the combination of the two time-space transfer strategies significantly enhances the performance of search-based algorithms like MISA, especially in large-scale unit programs.
Keywords:
Test case generation
Path coverage
Large-scale optimization
Relationship matrix
Time-space transfer

Journal

Complex and Intelligent Systems cover
Complex and Intelligent Systems
IF:
4.6
Papers:
2.1K
Citations:
6.6K

Organization

G
Guangzhou Maritime University
Scholars:
831
Papers: 759
Citations: 17
G
Guangdong University of Foreign Studies
Scholars:
1.3K
Papers: 1.4K
Citations: 1.5K
S
south china university of technology
Scholars:
6.7W
Papers: 5.1W
Citations: 85
G
guangdong university of technology
Scholars:
2.9W
Papers: 2.0W
Citations: 36
researcher View more organizations