Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Bottom line is: test code is code and you have to maintain it. If you write code that does not give you anything in return, or gives you more headaches than anything else, you wasted your time when you wrote it.

When you are writing any code, you should try to predict if what you will gain out of it will be worth it. In other words: evaluate the risks of anything you do in your life.



You shouldn't be proud of having 1 gazillion tests if all you do is rewrite/fix regressions on them.




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

Search: