跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 软件工程

arXiv:2504.01866 (cs)
[提交于 2025年4月8日]

标题:From Code Generation to Software Testing: AI Copilot with Context-Based RAG

作者:Yuchen Wang, Shangxin Guo, Chee Wei Tan
查看论文《From Code Generation to Software Testing: AI Copilot with Context-Based RAG》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:The rapid pace of large-scale software development places increasing demands on traditional testing methodologies, often leading to bottlenecks in efficiency, accuracy, and coverage. We propose a novel perspective on software testing by positing bug detection and coding with fewer bugs as two interconnected problems that share a common goal, which is reducing bugs with limited resources. We extend our previous work on AI-assisted programming, which supports code auto-completion and chatbot-powered Q&A, to the realm of software testing. We introduce Copilot for Testing, an automated testing system that synchronizes bug detection with codebase updates, leveraging context-based Retrieval Augmented Generation (RAG) to enhance the capabilities of large language models (LLMs). Our evaluation demonstrates a 31.2% improvement in bug detection accuracy, a 12.6% increase in critical test coverage, and a 10.5% higher user acceptance rate, highlighting the transformative potential of AI-driven technologies in modern software development practices.
评论: This work has been accepted for publication in IEEE Software (DOI: 10.1109/MS.2025.3549628)
主题: 软件工程 (cs.SE); 人工智能 (cs.AI); 程序设计语言 (cs.PL)
引用方式: arXiv:2504.01866 [cs.SE]
  (或者 arXiv:2504.01866v1 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.2504.01866
相关 DOI: https://doi.org/10.1109/MS.2025.3549628

提交历史

来自:Yuchen Wang
[v1] 2025年4月8日 星期二 00:00:00 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.SE
< 上一篇   |   下一篇 >
最新 | 近期 | 2025-04
切换浏览方式为:
cs
cs.AI
cs.PL

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站