6. Prototype of the Framework CATdd to Support Continuous Development in Test Driven Development

Takeaki Miyashita1, Tetsuro Katayama1, Yoshihiro Kita2, Hisaaki Yamaba1, Kentaro Aburada1, Naonobu Okazaki1
1Department of Computer Science and Systems Engineering, Faculty of Engineering, University of Miyazaki, Gakuen-kibanadai nishi, Miyazaki, 889-2192, Japan
2Department of Information Security, Faculty of Information Systems, Siebold Campus, University of Nagasaki, 1-1-1 Manabino, Nagayo-cho, Nishi-Sonogi-gun, Nagasaki, 851-2195, Japan
pp. 35–40
ABSTRACTTDD is a development methodology to improve software quality. In this study, we prototype the framework CATdd (Continuous Automated Test Driven Development), which supports continuous development with TDD. CATdd reduces the time of implementation step in TDD by generating new source code that passes tests using LLM. CATdd maintains consistency with other source code in the project by using existing source code and related source code to prompt. As a result of the evaluation experiments, the time for the implementation step in TDD was reduced by 94% for a simple task and by 56% for another more complex task. In conclusion, CATdd is useful to support continuous development.

ARTICLE INFO
Article History
Received 25 Nobember 2022
Accepted 04 September 2023

Keywords
Source code generation
Test driven development (TDD)
Large language model (LLM)

JAALR4106

Downlaod article(PDF)