所有受测试的感染开发人员都知道它可以节省时间,但是代码质量/测试覆盖率与业务成功之间的相关性将会很有趣.事物的目标如下:
xyz corp,制作操作系统,没有测试,赚了5000万美元
123 corp,制作操作系统,做测试,赚1亿美元
有谁知道做过的任何研究?
不久前微软委托 this internal study.它比较了使用和不使用TDD的团队.引用摘要:Based on the findings of the existing studies, it can be concluded that TDD seems to improve software quality, especially when employed in an industrial context. The findings were not so obvious in the semiindustrial or academic context, but none of those studies reported on decreased quality either. The productivity effects of TDD were not very obvious, and the results vary regardless of the context of the study. However, there were indications that TDD does not necessarily decrease the developer productivity or extend the project leadtimes: In some cases, significant productivity improvements were achieved with TDD while only two out of thirteen studies reported on decreased productivity. However, in both of those studies the quality was improved.