Disrupting Test Development with AI Assistants
arXiv:2411.02328 · doi:10.36227/techrxiv.173014488.82191966/v1
Abstract
Recent advancements in large language models, including GPT-4 and its variants, and Generative AI-assisted coding tools like GitHub Copilot, ChatGPT, and Tabnine, have significantly transformed software development. This paper analyzes how these innovations impact productivity and software test development metrics. These tools enable developers to generate complete software programs with minimal human intervention before deployment. However, thorough review and testing by developers are still crucial. Utilizing the Test Pyramid concept, which categorizes tests into unit, integration, and end-to-end tests, we evaluate three popular AI coding assistants by generating and comparing unit tests for opensource modules. Our findings show that AI-generated tests are of equivalent quality to original tests, highlighting differences in usage and results among the tools. This research enhances the understanding and capabilities of AI-assistant tools in automated testing.
References in corpus (4)
- KAT: Dependency-aware Automated API Testing with Large Language Models
- Assessing AI-Based Code Assistants in Method Generation Tasks
- Transforming Software Development: Evaluating the Efficiency and Challenges of GitHub Copilot in Real-World Projects
- Examination of Code generated by Large Language Models