arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2607.04786cs.SEcs.AIcs.MA
收藏

用于测试维护预测的智能信息融合探索

An Exploration of Agentic Information Fusion for Test Maintenance Prediction

Chalmers University of Technology and University of Gothenburg(楚德斯技术大学和戈特堡大学);Ericsson AB(爱立信有限公司);University of Gothenburg(戈特堡大学)

Jingxiong Liu, Nasser Mohammadiha, Gregory Gay

AI总结:

研究针对测试维护预测问题,提出多智能体框架MAST,通过智能融合多种分析方法及后检查程序,在实际场景中评估,提升了测试维护预测水平。

摘要:

测试维护至关重要但成本高昂,尤其是随着代码库快速演变。我们提出MAST,一个多智能体框架,用于预测生产代码变更后哪些测试用例需要维护。该识别任务是后续维护活动的前提,但因生产与测试代码间复杂关系而具挑战性。MAST通过智能融合和后检查程序整合多种分析,推进了现有技术水平。

英文摘要:

Test maintenance is a critical, yet costly, activity - particularly as codebases rapidly evolve. To assist, we present MAST, a multi-agent framework that predicts which test cases require maintenance following changes to the production code. This identification task is necessary as a precondition to any subsequent maintenance activities, but remains challenging due to the complex relationships between production and test code. MAST advances the state-of-the-art by integrating multiple analyses -- including static, lexical, and semantic analyses - through an intelligent fusion and post-check procedure and by focusing on a realistic use and evaluation setting - i.e., standardized input formats, repository-level analyses, and the ability to infer relations between test and production artifacts rather than assuming a pre-existing mapping. We evaluated MAST on 21 industrial Java repositories from Ericsson AB, considering situations where test maintenance both was and was not required in the ground truth. MAST yielded superior precision to a state-of-the-art baseline - resulting in a higher accuracy, F1, and F2 score - with only some loss in recall. Our ablation study demonstrates the value of each analysis in producing the final recommendations. MAST illustrates the potential of multi-agent systems that can fuse multiple information sources when performing software testing tasks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑