Hacker News new | past | comments | ask | show | jobs | submit login

"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.




Thanks 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: