I have always wanted to practice TDD-driven development, but I can't start with it. Now, with the challenge to TDD, I am shaken.
TDD can benefit Software Development
1. obtain a good Unit Interface
2. automated test suite
3. Drive ImprovementCodeInternal logic to avoid bugs.
However, TDD is also insufficient. First, everyone may wonder whyProgramEmployees need to spend twice as much time writing unit test code. "The above advantages can be achieved through other ways.
For example, to obtain a good unit interface, we should consider it from the design level. The internal logic quality of the code can be completed through some white box testing methods or fxcop technology.
In addition, whether TDD can obtain the software architecture or whether agile development methods can obtain the software architecture is confusing.
TDD is a kind of practice of just do it, so don't expect a global perspective.