arrow
Return

Multi-task modeling and multifactorial optimization for path coverage problem of automated test case generation

delete2024-03-01
delete0
PRE
AI
X
Xupeng Wang
Z
Zhongbo Hu *
L
Lingyi Shi
Q
Qinghua Su
DOI:10.1016/j.asoc.2024.111407delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Recent research in automated test case generation (ATCG) focuses on multi -objective optimization using functions based on path structure (F -PS) to solve the path coverage (PC) problem. Despite the similarity among F-PSs, the existing multi -objective optimization models fail to consider using the similarity to effectively promote optimization among multiple objectives. Inspired by the similarity and multitask optimization, this paper first establishes a multitasking path coverage (MtPC) model with two different F-PSs as its tasks. A multifactorial optimization framework for solving MtPC model (MfO-PC) is then proposed to optimize the tasks by assortative mating and to cooperatively generate desired test cases by automatic assignment strategy. Three multifactorial optimization algorithms based on the framework are then designed and tested on twelve benchmark programs. Experimental results show that the effectiveness of the proposed model and the designed algorithms based on MfO-PC framework achieve the highest path coverage with fewer test cases and less running time than some compared state-of-the-art algorithms.
Keywords:
Automated test case generation for path
coverage
Functions based on path structure
Multitask optimization
Automatic assignment strategy
Assortative mating

Journal

Applied Soft Computing cover
Applied Soft Computing
IF:
6.6
Papers:
1.4W
Citations:
4.8W

Organization

Y
Yangtze University
Scholars:
8.8K
Papers: 5.2K
Citations: 6.5K