arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1807.02971cs.SE
收藏

测试驱动开发保留性的纵向队列研究

A Longitudinal Cohort Study on the Retainment of Test-Driven Development

Davide Fucci, Simone Romano, Maria Teresa Baldassarre, Danilo Caivano, Giuseppe Scanniello, Burak Thuran, Natalia Juristo

摘要:

背景资料:测试驱动开发(TDD)是一种敏捷的软件开发实践,它被认为可以提高软件产品的外部质量和开发人员的生产力。目的:我们想研究(i)TDD对软件产品的外部质量以及开发人员的生产力的影响,以及(ii)在五个月内TDD的保留情况。方法:我们对意大利巴里大学计算机科学专业的30名三年级本科生进行了一项(定量)纵向队列研究。结果如下:TDD的使用对软件产品的外部质量和开发人员的生产力都没有统计上的显著影响。然而,我们观察到使用TDD的参与者比那些应用非TDD开发过程的参与者产生了更多的测试,并且TDD的保留在编写的测试数量中特别明显。结论:我们的结果应该鼓励软件公司采用TDD,因为实践TDD的人往往会编写更多的测试-在测试软件系统或定位错误时,有更多的测试可以派上用场-而且新手开发人员似乎会保留TDD。

英文摘要:

Background: Test-Driven Development (TDD) is an agile software development practice, which is claimed to boost both external quality of software products and developers' productivity. Aims: We want to study (i) the TDD effects on the external quality of software products as well as the developers' productivity, and (ii) the retainment of TDD over a period of five months. Method: We conducted a (quantitative) longitudinal cohort study with 30 third year undergraduate students in Computer Science at the University of Bari in Italy. Results: The use of TDD has a statistically significant effect neither on the external quality of software products nor on the developers' productivity. However, we observed that participants using TDD produced significantly more tests than those applying a non-TDD development process and that the retainment of TDD is particularly noticeable in the amount of tests written. Conclusions: Our results should encourage software companies to adopt TDD because who practices TDD tends to write more tests---having more tests can come in handy when testing software systems or localizing faults---and it seems that novice developers retain TDD.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑