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.
翻译:在本文中,我们调查了与非TDD方法相比TDD的影响,以及在(大约)六个月的时间内保留(或保留)TDD,为了实现这些目标,我们与30名新开发商(即计算机科学三年级本科生)进行了(定量)纵向群组研究,我们发现TDD既未影响软件产品的外部质量,也未影响开发商的生产力,然而,我们注意到,应用TDD的参与者提出的测试数量要大得多,其检测过失的能力要高于使用非TDD方法的参与者。 关于TDD的保留,我们发现,对于TDD,新开发商至少将TDD保留了6个月。