当我进行测试驱动开发时,时间过得飞快。
无论一个开发人员是在进行测试驱动的开发(TDD)还是在编写代码后创造单元测试,有一点是十分明显的,那就是单元测试有助于产出高质量、无缺陷的代码。
Whether a developer USES test-driven development (TDD) or creates unit tests after writing the code, the evidence is clear that unit tests help produce high-quality, bug-free code.
类中包含大量的方法,这是采用测试驱动开发进行构建的副作用。
The class consists of a large number of cohesive methods, which is a side-effect of using test-driven development in its construction.
应用推荐