Exécution de notre outil de synthèse sur un nouvel article

Vérifiez l’article ci-dessous, puis lancez sa synthèse.


Transformer-Based Unit Test Generation

Khushnood Adil Rafique (Rheinland-Pfälzische Technische Universität Kaiserslautern-Landau), Pooja k biradar (Rheinland-Pfälzische Technische Universität Kaiserslautern-Landau), Christoph Grimm (Rheinland-Pfälzische Technische Universität Kaiserslautern-Landau)

IEEE Conference on Artificial Intelligence (CAI)
Licence : non indiquée (tous droits réservés)

Résumé : Automated test case generation reduces the manual effort of software testing, particularly for dynamic languages like Python. This study compares three transformer-based models-CodeT5, CodeBERT, and CodeGen. While CodeBERT and CodeGen were expected to excel due to their focus on code understanding and generation, CodeT5, a code summarization model, outperformed both, achieving higher code coverage and superior semantic and syntactic fidelity. Using a limited yet diverse dataset of Python functions with natural language descriptions and unit tests, we evaluated models with NLP metrics (BLEU, ROUGE-L) and practical measures like code coverage. CodeGen struggled with coherence under data constraints, while CodeBERT showed moderate effectiveness. Paired t-tests confirmed CodeT5's statistically significant advantage, highlighting that a well-adapted model can outperform more generalized architectures in realistic software testing scenarios.

Publié le 05 Mai. 2025