Skip to content
Open access

A Multi-Study Evaluation into Generative Artificial Intelligence for Test-Driven Development

Aug 2026 · ACM Transactions on Software Engineering and Methodology · 0 citations · 68 references

TL;DR

GAI4-TDD makes failing tests pass with a success rate of about 90% on the first attempt; improves external/internal quality of software and students’ productivity; and professionals are generally-positive, although some barriers to GAI4-TDD adoption emerged.

Abstract

Test-Driven Development (TDD) is an agile practice that alternates writing failing (unit) tests (Red phase), implementing production code that makes failing tests pass (Green phase), and improving the code through the Refactor phase. TDD promises better external and internal quality of developed software and developers’ productivity, yet it remains difficult to practice. In prior work, some of the authors of this paper proposed integrating Large Language Models (LLMs) into the workflow of TDD, specifically during the Green phase by generating production code that makes failing (unit) tests pass. A supporting tool named GAI4-TDD (Generative Artificial Intelligence for Test-Driven Development) was also proposed to operationalize the integration of LLMs into the workflow of TDD for embedded systems development. In this paper, we validate this integration through a multi-study evaluation that is not limited to embedded systems development and comprises: (i) a laboratory study; (ii) a controlled experiment with graduate students in Computer Science/Engineering; and (iii) three industry-based qualitative studies. The results show that GAI4-TDD (i) makes failing tests pass with a success rate of about 90% on the first attempt; (ii) improves external/internal quality of software and students’ productivity; and (iii) professionals are generally-positive, although some barriers to GAI4-TDD adoption emerged.

Read PDF

Similar papers

Open access Aug 2026

Algorithm-driven Development: A proactive approach to improving software quality and reducing defects

Algorithm-Driven Development is introduced, a methodology developed from industrial practice to address recurring challenges in translating requirements into reliable, testable, and maintainable software behavior that provides systematic coverage of functional scenarios from the outset of development.

Philippe Jawish, Pierre Evrard, Alexandre Lemerle et al. · 0 citations
Open access 2022

Test-Driven Development and Behaviour-Driven Development: An Integrated Framework for Enterprise Software Quality Assurance

An integrated reference architecture is proposed that combines TDD's fine-grained unit-level feedback loop with BDD's stakeholder-readable acceptance criteria inside a single continuous integration and continuous delivery (CI/CD) pipeline.

Urvish Gajjar · 0 citations

Vibe Coding: An Experiment with Test-Driven Development

This exploratory study aims to investigate how humans and CLLMs can collaborate as peers through vibe coding, an approach that integrates principles from prompt engineering, agile design, and human-AI co-creation to enhance collaboration.

Moritz Mock, Barbara Russo · 0 citations
Open access Jul 2026

Integrating AI into Mobile Development Workflows: A System-Level Approach to Prompt-to-Code Engineering

This paper presents a layered architecture for AI-integrated development systems, encompassing prompt formulation, semantic interpretation, code generation, and validation mechanisms, and explores the dynamics of human–AI interaction, highlighting the importance of trust calibration, control boundaries, and iterative r...

Yasin Arik · 0 citations
Open access Aug 2026

AI-Enabled Test Case Generation and Optimization for Modern Software Development

This research examines an AI-enabled approach to test-case generation and optimization for modern software development by synthesizing evidence from studies concerning augmented reality, simulation-based learning, computational visualization, embedded-system monitoring, and AI-driven software quality engineering.

Dinesh Perera, Nethmi Fernando · 0 citations
Open access Aug 2026

AI-Assisted Development in Libyan Enterprises: Impact on SDLC Velocity and Code Quality

It is suggested that AI tool benefits are scale-dependent and require tailored governance frameworks for resource-constrained enterprises and infrastructure constraints and digital literacy gaps moderated tool effectiveness in the Libyan context.

Suad Aghlilib · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.