ARKA UÇ YAZILIM PROJELERI İÇIN ÜRETKEN YAPAY ZEKA TABANLI, SÖZLEŞME ODAKLI OTOMATİK BIRIM TESTİ BAKIM YAKLAŞIMI
| dc.contributor.author | Akıncı, Furkan Samet | |
| dc.contributor.author | Tuğlular, Tuğkan | |
| dc.date.accessioned | 2026-02-22T11:42:05Z | |
| dc.date.created | 2025 | |
| dc.date.issued | 2025 | |
| dc.department | Bartın Üniversitesi | |
| dc.description.abstract | Güncel arka uç sistemlerinde fonksiyon sözleşmeleri ve API yüzeyleri sık sık değişmekte, bu da birim testlerinin hızla geçerliliğini yitirmesine neden olmaktadır. Mevcut araçların büyük bölümü ilk test üretimine odaklanmakta, test bakımının önemli bir kısmı ise hâlâ manuel yürütülmektedir. Bu çalışma, sözleşme değişikliklerini kaynak düzeyinde algılayan ve ilişkili Jest testlerini büyük dil modelleri (LLM) ile yeniden üreten sözleşme-tabanlı bir bakım yaklaşımı sunmaktadır. Önerilen yöntem, TypeScript tabanlı dört açık kaynak arka uç projesinde toplam 28 sözleşme değişimi üzerinde değerlendirilmiştir. Deneyler, aracın başarısız koşulları otomatik olarak onarabilen, kısmi iyileştirmeler sağlayabilen ve mevcut test altyapısıyla bütünleşebilen pratik bir “self-healing” mekanizması sunduğunu göstermektedir. Bulgular, yöntemin başarısının proje mimarisi ve test suite kalitesiyle yakından ilişkili olduğunu da ortaya koymaktadır. | |
| dc.description.abstract | Modern backend systems frequently undergo changes in function contracts and API surfaces, which can quickly render unit tests outdated, brittle, or unusable. Most existing tools—whether based on classical test generation or large language models (LLMs)—focus on initial test creation, leaving the ongoing maintenance of existing test suites largely manual and error-prone. This paper presents a contract-driven, AI-assisted framework for unit test maintenance in TypeScript backend projects. The framework detects function-level contract changes and adapts related Jest tests through small, validated edits synthesized by an LLM, without creating new tests or performing broad refactorings. We evaluate the approach on 28 contract-change instances across four open-source projects. The results indicate that contract-aware, LLM-based test maintenance can act as a practical self-healing mechanism when contract changes are visible in the test surface, while its effectiveness remains strongly shaped by project architecture and test-suite design. | |
| dc.identifier.endpage | 97 | |
| dc.identifier.issn | 3023-6150 | |
| dc.identifier.issue | 2 | |
| dc.identifier.startpage | 74 | |
| dc.identifier.uri | https://hdl.handle.net/11772/26657 | |
| dc.identifier.volume | 4 | |
| dc.language.iso | en | |
| dc.publisher | Bartin University | |
| dc.publisher | Bartın Üniversitesi | |
| dc.relation.ispartof | Akıllı Sistemler Dergisi | |
| dc.relation.ispartof | Journal of Smart Systems | |
| dc.relation.publicationcategory | Makale - Ulusal Hakemli Dergi - Kurum Öğretim Elemanı | |
| dc.rights | info:eu-repo/semantics/openAccess | |
| dc.snmz | KA_DergiPark_20260218 | |
| dc.subject | Artificial Intelligence (Other) | |
| dc.subject | Yapay Zeka (Diğer) | |
| dc.subject | Software Testing | |
| dc.subject | Verification and Validation | |
| dc.subject | Yazılım Testi | |
| dc.subject | Doğrulama ve Validasyon | |
| dc.title | ARKA UÇ YAZILIM PROJELERI İÇIN ÜRETKEN YAPAY ZEKA TABANLI, SÖZLEŞME ODAKLI OTOMATİK BIRIM TESTİ BAKIM YAKLAŞIMI | |
| dc.title.alternative | A CONTRACT-DRIVEN AUTOMATED UNIT TEST MAINTENANCE APPROACH WITH GENERATIVE ARTIFICIAL INTELLIGENCE FOR BACKEND SOFTWARE PROJECTS | |
| dc.type | Article | |
| dspace.entity.type | Publication |










