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

测试驱动开发的一系列实验

A Family of Experiments on Test-Driven Development

Adrian Santos, Sira Vegas, Oscar Dieste, Fernando Uyaguari, Aysee Tosun, Davide Fucci, Burak Turhan, Giuseppe Scanniello, Simone Romano, Itir Karac, Marco Kuhrm… 展开作者

Adrian Santos, Sira Vegas, Oscar Dieste, Fernando Uyaguari, Aysee Tosun, Davide Fucci, Burak Turhan, Giuseppe Scanniello, Simone Romano, Itir Karac, Marco Kuhrmann, Vladimir Mandic, Robert Ramac, Dietmar Pfahl, Christian Engblom, Jarno Kyykka, Kerli Rungi, Carolina Palomeque, Jaroslav Spisak, Markku Oivo, Natalia Juristo

摘要:

测试驱动开发(TDD)是一种敏捷的软件开发方法,被广泛认为可以提高软件质量。然而,TDD改善质量的程度似乎在很大程度上取决于评估它的研究的特征(例如,研究方法、参与者类型、编程环境等)。每项研究的特殊性使得将结果汇总起来是站不住脚的。目的:本文的目标是:增加的准确性和概括性的结果在孤立的实验TDD,提供联合结论TDD的性能在不同的工业和学术环境,并评估在何种程度上的实验特性影响TDD的质量相关的性能。方法:我们在学术界和工业界进行了12项TDD实验。我们通过荟萃分析的方式汇总他们的结果。我们进行探索性分析,以确定影响TDD质量相关性能的变量。结果:TDD新手使用迭代测试后开发(即,ITL,TDD的反向方法)比TDD。开发的任务在很大程度上决定了质量。编程环境、TDD和ITL的应用顺序或从一种开发方法到另一种开发方法的学习效果似乎不会影响质量。使用TDD的专业人士的质量相关表现比学生下降得更多。我们推测,这可能是由于他们更抗拒改变,潜在的动机比学生少。结论:以前的研究似乎提供了关于TDD性能的相互矛盾的结果(即,分别为正vs.负)。我们假设这些相互矛盾的结果可能是由于不同的研究持续时间,实验参与者不熟悉TDD过程......

英文摘要:

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...

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

↑