用智能体AI自动生成测试用例和检索软件文档,提升开发效率
Supporting software engineering tasks with agentic AI: Demonstration on document retrieval and test scenario generation
- 构建星型结构智能体,由总控协调多个专用任务代理
- 在真实需求文档上实现测试场景自动生成,支持多类文档操作
- 适合开发者与测试人员快速处理文档与测试任务
大语言模型的出现引发了软件开发模式的重构。本文提出两种基于智能体AI的软件工程辅助方案。首先,针对详细需求描述自动生成测试场景,采用星型拓扑结构,由一个监督智能体协调多个专用工作智能体。其次,面向单个软件项目的文档集合,提供搜索、问答、变更追踪和长文档摘要等多类任务支持,每项任务由独立的LLM驱动智能体完成所有子任务。我们在真实案例中验证了其有效性,并展望了未来研究方向。
原文摘要 · Abstract (English)
The introduction of large language models ignited great retooling and rethinking of the software development models. The ensuing response of software engineering research yielded a massive body of tools and approaches. In this paper, we join the hassle by introducing agentic AI solutions for two tasks. First, we developed a solution for automatic test scenario generation from a detailed requirements description. This approach relies on specialized worker agents forming a star topology with the supervisor agent in the middle. We demonstrate its capabilities on a real-world example. Second, we developed an agentic AI solution for the document retrieval task in the context of software engineering documents. Our solution enables performing various use cases on a body of documents related to the development of a single software, including search, question answering, tracking changes, and large document summarization. In this case, each use case is handled by a dedicated LLM-based agent, which performs all subtasks related to the corresponding use case. We conclude by hinting at the future perspectives of our line of research.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。