跳到主要导航 跳到搜索 跳到主要内容

TestCaseMig: LLM-Driven Test Case Migration for Evolving Codebases

  • Xi'an Jiaotong University
  • Ltd.
  • China Unicom Western Innovation Research Institute

科研成果: 书/报告/会议事项章节 › 会议稿件 › 同行评审

摘要

As software systems evolve, test cases must adapt to code changes to remain valid and effective. Traditional test migration approaches, including symbolic execution and diff-based heuristics, often require significant manual effort and struggle to handle complex behavioral changes. Recent advances in large language models (LLMs) offer new opportunities for context-aware and automated test adaptation. However, existing LLM-based approaches are not well-suited for test case migration under evolving code, as they typically lack explicit modeling of code changes and original test context. In this paper, we present TestCaseMig, a framework that integrates LLMs with static analysis to migrate existing test cases in response to code modifications. TestCaseMig constructs change-sensitive, context-rich prompts and employs a multi-round, feedback-driven generation process with validation and coverage analysis to ensure the correctness, completeness, and adaptability of migrated test cases.

源语言英语
主期刊名Engineering of Complex Computer Systems - 29th International Conference, ICECCS 2025, Proceedings
编辑Yuan Zhou, Zuohua Ding, Sin G. Teo, Xiaofei Xie, Yang Liu
出版商Springer Science and Business Media Deutschland GmbH
页509-514
页数6
ISBN(印刷版)9783032008275
DOI
出版状态已出版 - 2026
活动29th International Conference on Engineering of Complex Computer Systems, ICECCS 2025 - Hangzhou, 中国
期限: 2 7月 2025 → 4 7月 2025

丛书

姓名Lecture Notes in Computer Science
卷15746 LNCS
ISSN(印刷版)0302-9743
ISSN(电子版)1611-3349

会议

会议29th International Conference on Engineering of Complex Computer Systems, ICECCS 2025
国家/地区中国
市Hangzhou
时期2/07/25 → 4/07/25

学术指纹

探究 'TestCaseMig: LLM-Driven Test Case Migration for Evolving Codebases' 的科研主题。它们共同构成独一无二的学术指纹。

引用此