追踪移动目标:工业界LLM测试生成的持续评估框架
Tracking the Moving Target: A Framework for Continuous Evaluation of LLM Test Generation in Industry
AI总结:
本文提出一个工业环境中持续评估商业LLM测试生成器的测量框架,通过在LKS Next的纵向研究证明其有效性,为企业集成LLM技术提供实用指导。
摘要:
大型语言模型(LLM)在自动化软件测试任务(包括测试生成)方面展现了巨大潜力。然而,其快速演进给实施DevSecOps的公司带来了严峻挑战——对其有效性的评估很快就会过时,导致难以评估其在生产环境中的可靠性。尽管学术界已广泛研究了基于LLM的测试生成,但评估通常使用学术基准提供时点分析。此类评估无法满足公司必须持续评估工具可靠性及其与现有开发实践集成的实际需求。本工作提出了一个用于在工业环境中持续评估商业LLM测试生成器的测量框架。我们通过在LKS Next进行的纵向研究展示了其有效性。该框架与SonarQube等工业标准工具集成,并提供评估技术充分性(如测试覆盖率)和实际考量(如可维护性或专家评估)的指标。我们的方法论结合了测试用例选择、提示工程和测量基础设施的策略,解决了数据泄露和可重复性等挑战。结果突出了LLM能力的快速演进以及成功实现工业采用的关键因素,为寻求将这些技术集成到其开发流水线中的公司提供了实用指导。
英文摘要:
Large Language Models (LLMs) have shown great potential in automating software testing tasks, including test generation. However, their rapid evolution poses a critical challenge for companies implementing DevSecOps - evaluations of their effectiveness quickly become outdated, making it difficult to assess their reliability for production use. While academic research has extensively studied LLM-based test generation, evaluations typically provide point-in-time analyses using academic benchmarks. Such evaluations do not address the practical needs of companies who must continuously assess tool reliability and integration with existing development practices. This work presents a measurement framework for the continuous evaluation of commercial LLM test generators in industrial environments. We demonstrate its effectiveness through a longitudinal study at LKS Next. The framework integrates with industry-standard tools like SonarQube and provides metrics that evaluate both technical adequacy (e.g., test coverage) and practical considerations (e.g., maintainability or expert assessment). Our methodology incorporates strategies for test case selection, prompt engineering, and measurement infrastructure, addressing challenges such as data leakage and reproducibility. Results highlight both the rapid evolution of LLM capabilities and critical factors for successful industrial adoption, offering practical guidance for companies seeking to integrate these technologies into their development pipelines.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。