【24h】

The Effect of Test-Driven Development on Program Code

机译:测试驱动开发对程序代码的影响

获取原文
获取原文并翻译 | 示例

摘要

Usage of test-driven development (TDD) is said to lead to better testable programs. However, no study answers either the question how this better testability can be measured nor whether the feature of better testability exists. To answer both questions we present the concept of the controllability of assignments. We studied this metric on various TDD and conventional projects. Assignment controllability seems to support the rules of thumb for testable code, e.g. small classes with low coupling are better testable than large classes with high coupling. And as opposed to the Chidamber and Kemerer metric suite for object-oriented design, controllability of assignments seems to be an indicator whether a project was developed with TDD or not.
机译:据说使用测试驱动开发(TDD)可以产生更好的可测试程序。但是,没有研究回答如何测量这种更好的可测试性或是否存在更好的可测试性的问题。为了回答这两个问题,我们提出了任务可控性的概念。我们在各种TDD和常规项目中研究了该指标。分配可控性似乎支持可测试代码的经验法则,例如具有低耦合的小类比具有高耦合的大类更好的可测试性。与面向对象设计的Chidamber和Kemerer度量标准套件相反,分配的可控制性似乎是一个项目是否使用TDD开发的指标。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号