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

通过实验改进开发实践:工业TDD案例

Improving Development Practices through Experimentation: an Industrial TDD Case

Adrian Santos, Jaroslav Spisak, Markku Oivo, Natalia Juristo

摘要:

测试驱动开发(TDD)是一种敏捷开发方法,它通过连续的微迭代测试编码周期来加强软件系统的构建,被广泛认为可以提高软件的外部质量。有鉴于此,Paf(一家北欧游戏娱乐公司)的一些经理很想知道TDD在他们的场所会如何表现。最终,如果TDD优于他们的传统编码方式(即,YW,Your Way的缩写),考虑到在公司层面取得的经验证据,转向TDD是可能的。我们在Paf进行了一项实验,以评估TDD、YW和TDD的反向方法(即,ITL,Iterative-Test Last的缩写)。TDD在Paf的表现优于YW和ITL。尽管结果令人鼓舞,但我们不能建议Paf立即采用TDD,因为YW和TDD之间的性能差异很小。然而,由于TDD在Paf上看起来很有前途,我们建议将一些开发人员转移到TDD,并在未来进行实验以比较TDD和YW的性能。在TDD新手的对照实验中,TDD的表现略优于ITL。然而,仍然需要更多的工业实验来评估TDD在现实生活中的性能。

英文摘要:

Test-Driven Development (TDD), an agile development approach that enforces the construction of software systems by means of successive micro-iterative testing coding cycles, has been widely claimed to increase external software quality. In view of this, some managers at Paf-a Nordic gaming entertainment company-were interested in knowing how would TDD perform at their premises. Eventually, if TDD outperformed their traditional way of coding (i.e., YW, short for Your Way), it would be possible to switch to TDD considering the empirical evidence achieved at the company level. We conduct an experiment at Paf to evaluate the performance of TDD, YW and the reverse approach of TDD (i.e., ITL, short for Iterative-Test Last) on external quality. TDD outperforms YW and ITL at Paf. Despite the encouraging results, we cannot recommend Paf to immediately adopt TDD as the difference in performance between YW and TDD is small. However, as TDD looks promising at Paf, we suggest to move some developers to TDD and to run a future experiment to compare the performance of TDD and YW. TDD slightly outperforms ITL in controlled experiments for TDD novices. However, more industrial experiments are still needed to evaluate the performance of TDD in real-life contexts.

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

↑