3 ms·
Hi all, I'm the author of the blog post. I'm very glad that it has gained already so much opinions and feedback. As user ollysb, I'm quite surprised to notice
by tuomas-mbm 16y ago
Hi all,
I'm the author of the blog post. I'm very glad that it has gained already so much opinions and feedback.
As user ollysb, I'm quite surprised to notice that there seems to be more against the post than for it. And that was one of the reasons why I actually wrote it: You are smart guys, please proof me wrong about unit tests. I can only find good things in unit testing, so it seems that I have not fully thought it through.
ps. Did the post have "inflammatory tone"? It was definitely not my intention. Sorry if it did. I have done computer programming for living only just about 10 years and I am definitely not a professional in it yet. Which parts made it sound cocky? I would love to hear feedback for that too improve my writing.
- henrikschroder 16y ago"I can only find good things in unit testing" Then you are simply not very experienced using it. You're in the love-phase where everything about some new technology seems wonderful, and since it's solved so many previous problems for you, you are blind to the warts and problems that come with it. We understand your enthusiasm for it, unit testing and TDD are good tools, but they're just that. Tools. That you can choose to use if they fit the project. Your blog post (and the previous one) both said that unit tests and TDD are always awesome for all projects. This is not true, and this is what people here are reacting to.
- tuomas-mbm 16y agoThanks for the nice reply Henrik. Yes, most likely the truth is that I'm not experienced enough of using it and the type of systems I build are limiting my view. I also understand unit testing is a tool with it's limitation. However, for me, unit testing is a good tool that helps me to proof that the code I did works. And I hope I would see more of unit tests on the field. But as you said, probably the way to find the dark side of unit testing is just doing it and finding the problem. So I'll keep using the tool until I do. I think I also really need to learn to write better. :) Where did I do such a claim that the TDD and unit tests are always awesome for all projects? I think I even did the opposite.