Büyük Dil Modelleri Kullanılarak Otomatik Birim Test Kodu Üretimi

Akdeniz Kutay Öçal*, Mehmet Keskinöz*

*Bu çalışma için yazışmadan sorumlu yazar

Araştırma sonucu: Kitap/Rapor/Konferans Bildirisinde BölümKonferans katkısıbilirkişi

Özet

This study aimed to automate the production of unit tests, a critical component of the software development process. By using pre-trained Large Language Models, manual effort and training costs were reduced, and test production capacity was increased. Instead of directly feeding the test functions obtained from the Java projects to be tested into the model, the project was analyzed to extract additional information. The data obtained from this analysis were used to create an effective prompt template. Furthermore, the sources of the problematic tests produced were identified, and this information was fed back into the model, enabling it to autonomously correct the errors. The results of the study showed that the model was able to generate tests covering %55.58 of the functions collected from Java projects across different domains and that re-feeding the model with the generated erroneous tests resulted in a %29.3 improvement in the number of executable tests.

Tercüme edilen katkı başlığıAutomatic Unit Test Code Generation Using Large Language Models
Orijinal dilTürkçe
Ana bilgisayar yayını başlığı32nd IEEE Conference on Signal Processing and Communications Applications, SIU 2024 - Proceedings
YayınlayanInstitute of Electrical and Electronics Engineers Inc.
ISBN (Elektronik)9798350388961
DOI'lar
Yayın durumuYayınlandı - 2024
Etkinlik32nd IEEE Conference on Signal Processing and Communications Applications, SIU 2024 - Mersin, Turkey
Süre: 15 May 202418 May 2024

Yayın serisi

Adı32nd IEEE Conference on Signal Processing and Communications Applications, SIU 2024 - Proceedings

???event.eventtypes.event.conference???

???event.eventtypes.event.conference???32nd IEEE Conference on Signal Processing and Communications Applications, SIU 2024
Ülke/BölgeTurkey
ŞehirMersin
Periyot15/05/2418/05/24

Bibliyografik not

Publisher Copyright:
© 2024 IEEE.

Keywords

  • automatic test generation
  • large language models
  • software testing
  • unit test generation

Parmak izi

Büyük Dil Modelleri Kullanılarak Otomatik Birim Test Kodu Üretimi' araştırma başlıklarına git. Birlikte benzersiz bir parmak izi oluştururlar.

Alıntı Yap