@inproceedings{50e86d87e69740a68b5774078408f7fb,
title = "TestCaseMig: LLM-Driven Test Case Migration for Evolving Codebases",
abstract = "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.",
keywords = "Automated testing, Large language models, Software evolution, Static analysis, Test case migration",
author = "Wuhe Axi and Xin Li and Jigang Xie and Xitao Li and Haijun Wang",
note = "Publisher Copyright: {\textcopyright} The Author(s), under exclusive license to Springer Nature Switzerland AG 2026.; 29th International Conference on Engineering of Complex Computer Systems, ICECCS 2025 ; Conference date: 02-07-2025 Through 04-07-2025",
year = "2026",
doi = "10.1007/978-3-032-00828-2\_31",
language = "英语",
isbn = "9783032008275",
series = "Lecture Notes in Computer Science",
publisher = "Springer Science and Business Media Deutschland GmbH",
pages = "509--514",
editor = "Yuan Zhou and Zuohua Ding and Teo, \{Sin G.\} and Xiaofei Xie and Yang Liu",
booktitle = "Engineering of Complex Computer Systems - 29th International Conference, ICECCS 2025, Proceedings",
}