6

TDD is not silver bullet

 2 years ago
source link: https://dannypsnl.github.io/blog/2020/01/11/cs/tdd-is-not-silver-bullet/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

TDD is not silver bullet

For the decade, people like to say TDD can solve problems faster, and I'm going to claim this was not the truth. We could solve the problem was because we knew the solution. TDD was good, but no silver bullet. We could say that TDD helping us find out the misc bug when developing them faster, but TDD was not able to find a deeper problem: the design/architecture problem.

We could have thousands of tests but cannot believe their results, and this was because we didn't understand our problems, so when we had a test failed, we cannot make sure the problem was a specification error or coding error. Humans, not tests, solved the problem. I hope this could save you from the crazy TDD believer or stop being a crazy TDD believer.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK