earticle

논문검색

Convergence of Internet, Broadcasting and Communication

A Study on Test-Driven Development Method with the Aid of Generative AI in Software Engineering

초록

영어

This study explores the integration of Generative AI into Test-Driven Development (TDD) to efficiently produce code that accurately reflects programmers' requirements in software engineering. Using the Account class as an example, we analyzed the code generation capabilities of leading Generative AI models—OpenAI's ChatGPT, GitHub's Copilot, and Google's Gemini. Our findings indicate that while Generative AI can automatically generate code, it often fails to capture programmers' intent, potentially leading to functional errors or security vulnerabilities. By applying TDD principles and providing detailed test cases to the Generative AI, we demonstrated that the generated code more closely aligns with the programmer's intentions and successfully passes specified tests. This approach reduces the need for manual code reviews and enhances development efficiency. We propose a development process that combines TDD with Generative AI, leveraging the strengths of both to efficiently produce high-quality software. Future research will focus on extending this approach to more complex systems and exploring automatic test case generation techniques.

목차

Abstract
1. Introduction
2. Related Work
3. Analysis of Generative AI's Code Generation Capabilities
4. TDD Method with the Aid of Generative AI
5. Comparative Analysis
6. Conclusion
Acknowledgement
References

저자정보

  • Woochang Shin Professor Dept. of Computer Science, Seokyeong University, Korea

참고문헌

자료제공 : 네이버학술정보

    함께 이용한 논문

      ※ 원문제공기관과의 협약기간이 종료되어 열람이 제한될 수 있습니다.

      0개의 논문이 장바구니에 담겼습니다.