A Family of Experiments on Test-Driven Development

Santos Parrilla, Adrián, Vegas Hernández, Sira ORCID: https://orcid.org/0000-0001-8535-9386, Dieste Tubio, Óscar ORCID: https://orcid.org/0000-0002-3060-7853, Uyaguari Uyaguari, Fernando Manuel, Tosun, Ayse, Fucci, Davide, Turhan, Burak, Scanniello, Giuseppe, Romano, Simone, Karac, Itir, Kuhrmann, Marco, Mandic, Vladimir, Ramac, Robert, Pfahl, Dietmar, Engblom, Christian, Kyykka, Jarno, Rungi, Kerli, Palomeque, Carolina, Spisak, Jaroslav, Oivo, Markku and Juristo Juzgado, Natalia ORCID: https://orcid.org/0000-0002-2465-7141 (2021). A Family of Experiments on Test-Driven Development. "Empirical Software Engineering", v. 26 ; ISSN 1382-3256. https://doi.org/10.1007/s10664-020-09895-8.

Descripción

Título: A Family of Experiments on Test-Driven Development
Autor/es:
  • Santos Parrilla, Adrián
  • Vegas Hernández, Sira https://orcid.org/0000-0001-8535-9386
  • Dieste Tubio, Óscar https://orcid.org/0000-0002-3060-7853
  • Uyaguari Uyaguari, Fernando Manuel
  • Tosun, Ayse
  • Fucci, Davide
  • Turhan, Burak
  • Scanniello, Giuseppe
  • Romano, Simone
  • Karac, Itir
  • Kuhrmann, Marco
  • Mandic, Vladimir
  • Ramac, Robert
  • Pfahl, Dietmar
  • Engblom, Christian
  • Kyykka, Jarno
  • Rungi, Kerli
  • Palomeque, Carolina
  • Spisak, Jaroslav
  • Oivo, Markku
  • Juristo Juzgado, Natalia https://orcid.org/0000-0002-2465-7141
Tipo de Documento: Artículo
Título de Revista/Publicación: Empirical Software Engineering
Fecha: 14 Marzo 2021
ISSN: 1382-3256
Volumen: 26
Materias:
ODS:
Palabras Clave Informales: Family of Experiments; Test-Driven Development; Industry; Academia; Quality
Escuela: E. Politécnica de Enseñanza Superior (UPM)
Departamento: Aeronaves y Vehículos Espaciales
Grupo Investigación UPM: Ingeniería del Software GrISE
Licencias Creative Commons: Reconocimiento

Texto completo

[thumbnail of Adri_ESEIL_CR.pdf] PDF (Portable Document Format) - Se necesita un visor de ficheros PDF, como GSview, Xpdf o Adobe Acrobat Reader
Descargar (19MB)

Resumen

Context : Test-driven development (TDD) is an agile software development approach that has been widely claimed to improve software quality. However, the extent to which TDD improves quality appears to be largely dependent upon the characteristics of the study in which it is evaluated (e.g., the research method, participant type, programming environment, etc.). The particularities of each study make the aggregation of results untenable. Objectives: The goal of this paper is to: increase the accuracy and generalizability of the results achieved in isolated experiments on TDD, provide joint conclusions on the performance of TDD across different industrial and academic settings, and assess the extent to which the characteristics of the experiments affect the quality-related performance of TDD. Method: We conduct a family of 12 experiments on TDD in academia and industry. We aggregate their results by means of meta-analysis. We perform exploratory analyses to identify variables impacting the quality-related performance of TDD. Results: TDD novices achieve a slightly higher code quality with iterative test-last development (i.e., ITL, the reverse approach of TDD) than with TDD. The task being developed largely determines quality. The programming environment, the order in which TDD and ITL are applied, or the learning effects from one development approach to another do not appear to affect quality. The quality-related performance of professionals using TDD drops more than for students. We hypothesize that this may be due to their being more resistant to change and potentially less motivated than students. Conclusion: Previous studies seem to provide conflicting results on TDD performance (i.e., positive vs. negative, respectively). We hypothesize that these conflicting results may be due to different study durations, experiment participants being unfamiliar with the TDD process, or case studies comparing the performance achieved by TDD vs. the control approach (e.g., the waterfall model), each applied to develop a different system. Further experiments with TDD experts are needed to validate these hypotheses.

Proyectos asociados

Tipo
Código
Acrónimo
Responsable
Título
Gobierno de España
PGC2018- 097265-B-I00
MeCEx
Sira Vegas
Mejora de la Calidad de los Experimentos en Ingeniería de Software para el Incremento de la Fiabilidad en los Resultados

Más información

ID de Registro: 79671
Identificador DC: https://oa.upm.es/79671/
Identificador OAI: oai:oa.upm.es:79671
URL Portal Científico: https://portalcientifico.upm.es/es/ipublic/item/9307390
Identificador DOI: 10.1007/s10664-020-09895-8
URL Oficial: https://link.springer.com/article/10.1007/s10664-0...
Depositado por: Sira Vegas hernández
Depositado el: 11 Feb 2024 14:19
Ultima Modificación: 12 Nov 2025 00:00