Code generation model generates code by taking a prompt from a code comment, existing code, or a combination of both. Although code generation models, e.g., GitHub Copilot, are increasingly being adopted to generate code, it is unclear whether they can successfully be used for unit test generation without fine-tuning. To fill this gap, we investigated how well three generative models, CodeGen, Codex, and GPT-3.5, can generate test cases regarding coverage and quality. We used HumanEval and Evosuite SF110 benchmarks to understand the context’s effect in the unit test generation prompt. We evaluated the models based on compilation rates, test correctness, coverage, and test smells. The codex model gained above 80% coverage for the HumanEval d...
Good unit tests play a paramount role when it comes to foster and evaluate software quality. However...
Test sets of ~100 files in each of 12 programming languages. These files are not included in The Pi...
Study whether code generation works in the large. ∗This work has been published at ITP 2011[3]. We a...
Code generation model generates code by taking a prompt from a code comment, existing code, or a com...
Writing unit tests is a crucial task in the software development lifecycle, ensuring the correctness...
International audienceUnit testing is a crucial aspect of software development, but developers often...
Work on automated test generation has produced several tools capable of generating test data which a...
Lately, Large Language Models have been widely used in code generation. GPT4 is considered the most ...
Unit tests play a key role in ensuring the correctness of software. However, manually creating unit ...
Automated unit test generation tools can produce tests that are superior to manually written ones in...
Data from projects worldwide show that many software projects fail and most are completed late or ov...
Developing software test code can be as or more expensive than developing software production code. ...
Good unit tests play a paramount role when it comes to foster and evaluate software quality. However...
Nowadays, software pervades our life. Being software so deeply rooted into our society, software fai...
Automated test generation - the use of tools to create all or part of test cases - has a critical ro...
Good unit tests play a paramount role when it comes to foster and evaluate software quality. However...
Test sets of ~100 files in each of 12 programming languages. These files are not included in The Pi...
Study whether code generation works in the large. ∗This work has been published at ITP 2011[3]. We a...
Code generation model generates code by taking a prompt from a code comment, existing code, or a com...
Writing unit tests is a crucial task in the software development lifecycle, ensuring the correctness...
International audienceUnit testing is a crucial aspect of software development, but developers often...
Work on automated test generation has produced several tools capable of generating test data which a...
Lately, Large Language Models have been widely used in code generation. GPT4 is considered the most ...
Unit tests play a key role in ensuring the correctness of software. However, manually creating unit ...
Automated unit test generation tools can produce tests that are superior to manually written ones in...
Data from projects worldwide show that many software projects fail and most are completed late or ov...
Developing software test code can be as or more expensive than developing software production code. ...
Good unit tests play a paramount role when it comes to foster and evaluate software quality. However...
Nowadays, software pervades our life. Being software so deeply rooted into our society, software fai...
Automated test generation - the use of tools to create all or part of test cases - has a critical ro...
Good unit tests play a paramount role when it comes to foster and evaluate software quality. However...
Test sets of ~100 files in each of 12 programming languages. These files are not included in The Pi...
Study whether code generation works in the large. ∗This work has been published at ITP 2011[3]. We a...