At the end, you said the hallmark of the professional is to have good unit tests, and TDD is one way of achieving that.
最后,你又提到专业化的标志就是拥有良好的单元测试,而TDD则是达成这一目标的一种方法而已。
That way, if something breaks (which it won't because you're writing really good unit tests, right?), you can look at the refactoring history and see what happened.
通过这种方式,如果出现错误(这种情况不会发生,因为您编写了非常出色的单元测试,不是吗?),就可以查看重构历史记录,看看发生了什么。
应用推荐