TDD研究 [英] Research on TDD

查看:25
本文介绍了TDD研究的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道北卡罗来纳州立大学对 TDD 进行了一些研究.他们发表了一篇名为工业测试驱动开发的初步调查'.可以在此处找到 NCSU 的其他出版物.

I know there is done some research on TDD at the North Carolina State University. They have published a paper called 'An Initial Investigation of Test Driven Development in Industry'. Other publications by NCSU can be found here.

有人可以向我指出有关此主题的其他优秀出版物吗?

Can anybody point me to other good publications on this topic?

推荐答案

关于测试优先编程方法的有效性,作者 Hakan Erdogmus、Maurizio Morisio 和 Marco Torchiano.

On the Effectiveness of the Test-First Approach to Programming, by Hakan Erdogmus, Maurizio Morisio, and Marco Torchiano.

尽管名称涵盖了 TDD:

Despite the name it covers TDD:

摘要:

测试驱动开发 (TDD) 基于关于正式化一块功能作为测试,实现功能使得测试通过,并迭代该过程.

Test-Driven Development (TDD) is based on formalizing a piece of functionality as a test, implementing the functionality such that the test passes, and iterating the process.

本文描述了一个受控评估一个重要的实验TDD 的方面:在 TDD 中,程序员在开始之前编写功能测试对应的实现代码.这实验进行了未毕业的学生.虽然实验组应用测试优先策略,对照组应用了一个更传统的发展技术,在之后编写测试执行.两组均跟随一个增量过程,添加新的一次一个特征和回归测试它们.

This paper describes a controlled experiment for evaluating an important aspect of TDD: In TDD, programmers write functional tests before the corresponding implementation code. The experiment was conducted with undergraduate students. While the experiment group applied a test-first strategy, the control group applied a more conventional development technique, writing tests after the implementation. Both groups followed an incremental process, adding new features one at a time and regression testing them.

我们发现测试优先学生平均写了更多的测试反过来,写得更多的学生测试往往更有成效.我们还观察到最低质量随人数线性增加程序员测试,独立于采用的发展战略.

We found that test-first students on average wrote more tests and, in turn, students who wrote more tests tended to be more productive. We also observed that the minimum quality increased linearly with the number of programmer tests, independent of the development strategy employed.

这篇关于TDD研究的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆