Studying Test-Driven Development and its Retainment Over a Six-month Time Span
Authors:
Maria Teresa Baldassarre,
Danilo Caivano,
Davide Fucci,
Natalia Juristo,
Simone Romano,
Giuseppe Scanniello,
BurakTurhan
Abstract:
In this paper, we investigate the effect of TDD, as compared to a non-TDD approach, as well as its retainment (or retention) over a time span of (about) six months. To pursue these objectives, we conducted a (quantitative) longitudinal cohort study with 30 novice developers (i.e., third-year undergraduate students in Computer Science). We observed that TDD affects neither the external quality of s…
▽ More
In this paper, we investigate the effect of TDD, as compared to a non-TDD approach, as well as its retainment (or retention) over a time span of (about) six months. To pursue these objectives, we conducted a (quantitative) longitudinal cohort study with 30 novice developers (i.e., third-year undergraduate students in Computer Science). We observed that TDD affects neither the external quality of software products nor developers' productivity. However, we observed that the participants applying TDD produced significantly more tests, with a higher fault-detection capability than those using a non-TDD approach. As for the retainment of TDD, we found that TDD is retained by novice developers for at least six months.
△ Less
Submitted 11 May, 2021; v1 submitted 7 May, 2021;
originally announced May 2021.