Unit tests play a key role in ensuring the correctness of software. However, manually creating unit tests is a laborious task, motivating the need for automation. Large Language Models (LLMs) have recently been applied to this problem, utilizing additional training or few-shot learning on examples of existing tests. This paper presents a large-scale empirical evaluation on the effectiveness of LLMs for automated unit test generation without additional training or manual effort, providing the LLM with the signature and implementation of the function under test, along with usage examples extracted from documentation. We also attempt to repair failed generated tests by re-prompting the model with the failing test and error message. We implemen...
Good unit tests play a paramount role when it comes to foster and evaluate software quality. However...
The old adage “to err is human ” is more than manifest in the software world: programmers make mista...
As software programs evolve, developers need to ensure that new changes do not affect the originall...
One of the critical phases in software development is software testing. Testing helps with identifyi...
Writing unit tests is a crucial task in the software development lifecycle, ensuring the correctness...
Code generation model generates code by taking a prompt from a code comment, existing code, or a com...
Property-based testing (PBT), while an established technique in the software testing research commun...
Good unit tests play a paramount role when it comes to foster and evaluate software quality. However...
Graduation date: 2017The main goal of automated test generation is to improve the reliability of a p...
Software testing is an important part of the development cycle, yet it requires specialized expertis...
In this work, we evaluate 10 open-source instructed LLMs on four representative code comprehension a...
Work on automated test generation has produced several tools capable of generating test data which a...
Current approaches to program synthesis with Large Language Models (LLMs) exhibit a "near miss syndr...
Work on automated test generation has produced several tools capable of generating test data which a...
Open software repositories make large amounts of source code publicly available. Potentially, this s...
Good unit tests play a paramount role when it comes to foster and evaluate software quality. However...
The old adage “to err is human ” is more than manifest in the software world: programmers make mista...
As software programs evolve, developers need to ensure that new changes do not affect the originall...
One of the critical phases in software development is software testing. Testing helps with identifyi...
Writing unit tests is a crucial task in the software development lifecycle, ensuring the correctness...
Code generation model generates code by taking a prompt from a code comment, existing code, or a com...
Property-based testing (PBT), while an established technique in the software testing research commun...
Good unit tests play a paramount role when it comes to foster and evaluate software quality. However...
Graduation date: 2017The main goal of automated test generation is to improve the reliability of a p...
Software testing is an important part of the development cycle, yet it requires specialized expertis...
In this work, we evaluate 10 open-source instructed LLMs on four representative code comprehension a...
Work on automated test generation has produced several tools capable of generating test data which a...
Current approaches to program synthesis with Large Language Models (LLMs) exhibit a "near miss syndr...
Work on automated test generation has produced several tools capable of generating test data which a...
Open software repositories make large amounts of source code publicly available. Potentially, this s...
Good unit tests play a paramount role when it comes to foster and evaluate software quality. However...
The old adage “to err is human ” is more than manifest in the software world: programmers make mista...
As software programs evolve, developers need to ensure that new changes do not affect the originall...