A System for Automated Unit Test Generation Using Large Language Models and Assessment of Generate

本文是LLM系列文章,针对《A System for Automated Unit Test Generation Using Large Language Models and Assessment of Generated Test Suites》的翻译。

使用大型语言模型自动生成单元测试并评估生成的测试套件的系统

摘要

单元测试代表了软件测试生命周期中最基本的测试级别,对于确保软件正确性至关重要。设计和创建单元测试是一个成本高昂且劳动密集型的过程,但自动化的时机已经成熟。最近,大型语言模型 (LLM) 已应用于软件开发的各个方面,包括单元测试生成。尽管存在一些评估 LLM 在测试代码生成方面的能力的实证研究,但它们主要集中在简单的场景上,例如为单个方法直接生成单元测试。这些评估通常涉及独立的小规模测试单元,从而提供 LLM 在实际软件开发场景中性能的有限视图。此外,以前的研究并没有以适合实际应用的规模来处理这个问题。生成的单元测试通常通过手动集成到原始项目中来进行评估,此过程会限制执行的测试数量并降低整体效率。为了解决这些差距,我们开发了一种生成和评估更多真实复杂性测试套件的方法。我们的方法侧重于类级测试代码的生成,并自动化了从测试生成到测试评估的整个过程。在这项工作中,我们提出了 AGONETEST:一个用于为 Java 项目生成测试套件的自动化系统,以及一种用于评估生成的测试套件的全面而有原则的方法。从最先进的数据集(即 METHODS2TEST)开始&#

以下是与“Prediction and risk assessment of extreme weather events based on gumbel copula function”类似的文献推荐: 1. "Multivariate Extreme Value Theory for Risk Assessment" by Alexander McNeil, Rüdiger Frey, and Paul Embrechts. This book provides a comprehensive overview of multivariate extreme value theory and its applications to risk assessment, including the use of copulas. 2. "Spatial dependence in extreme precipitation: A copula-based approach" by Claudia Tebaldi, Michael B. McElroy, and Laurent A. Bouwer. This paper discusses the use of copulas to model the spatial dependence of extreme precipitation events, and demonstrates the usefulness of this approach for risk assessment and prediction. 3. "A comparison of copula-based and traditional frequency analysis methods for extreme rainfall estimation" by Jian Liu, Hong Guan, and Xiaoguang Wang. This paper compares the performance of copula-based and traditional frequency analysis methods for extreme rainfall estimation, and provides insights into the strengths and weaknesses of each approach. 4. "Copula-based approach to modeling extreme wind speeds and gusts" by Xing Yu and Lulu Liu. This paper presents a copula-based approach for modeling extreme wind speeds and gusts, and shows how this approach can be used for risk assessment and prediction. 5. "Estimating the probability of extreme floods using copula-based bivariate frequency analysis" by Tae-Young Kim and Seungho Lee. This paper proposes a copula-based bivariate frequency analysis method for estimating the probability of extreme floods, and demonstrates its effectiveness using real-world data.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

UnknownBody

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值