Observatorio de I+D+i UPM

Memorias de investigación
Artículos en revistas:
A Dissection of the Test-Driven Development Process: Does It Really Matter to Test-First or to Test-Last?
Año:2017
Áreas de investigación
  • Ciencias de la computación y tecnología informática
Datos
Descripción
Background: Test-driven development (TDD) is a technique that repeats short coding cycles interleaved with testing. The developer first writes a unit test for the desired functionality, followed by the necessary production code, and refactors the code. Many empirical studies neglect unique process characteristics related to TDD iterative nature. Aim: We formulate four process characteristic: sequencing, granularity, uniformity, and refactoring effort. We investigate how these characteristics impact quality and productivity in TDD and related variations. Method: We analyzed 82 data points collected from 39 professionals, each capturing the process used while performing a specific development task. We built regression models to assess the impact of process characteristics on quality and productivity. Quality was measured by functional correctness. Result: Quality and productivity improvements were primarily positively associated with the granularity and uniformity. Sequencing, the order in which test and production code are written, had no important influence. Refactoring effort was negatively associated with both outcomes. We explain the unexpected negative correlation with quality by possible prevalence of mixed refactoring. Conclusion: The claimed benefits of TDD may not be due to its distinctive test-first dynamic, but rather due to the fact that TDD-like processes encourage fine-grained, steady steps that improve focus and flow.
Internacional
Si
JCR del ISI
Si
Título de la revista
Ieee Transactions on Software Engineering
ISSN
0098-5589
Factor de impacto JCR
3,272
Información de impacto
Volumen
43
DOI
10.1109/TSE.2016.2616877
Número de revista
7
Desde la página
597
Hasta la página
614
Mes
JULIO
Ranking
9 / 106
Esta actividad pertenece a memorias de investigación
Participantes
  • Autor: Davide Fucci (University of Oulu)
  • Autor: Hakan Erdogmus (Carnegie Mellon University)
  • Autor: Burak Turhan (University of Oulu)
  • Autor: Markku Oivo (University of Oulu)
  • Autor: Natalia Juristo Juzgado (UPM)
Grupos de investigación, Departamentos, Centros e Institutos de I+D+i relacionados
  • Creador: Grupo de Investigación: Ingeniería del Software
S2i 2021 Observatorio de investigación @ UPM con la colaboración del Consejo Social UPM
Cofinanciación del MINECO en el marco del Programa INNCIDE 2011 (OTR-2011-0236)
Cofinanciación del MINECO en el marco del Programa INNPACTO (IPT-020000-2010-22)