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

Unit tests have their place but in my experience there are also a lot of places in most codebases where they don't deliver enough value compared to the effort put into both writing and maintaining them (they can be a huge PITA while refactoring). I agree that in many cases integration tests often are so much more useful in catching regressions.


> they can be a huge PITA while refactoring

I see that as an useful feature: This shows you the cost of refactoring and the fact that this cost includes re-testing everything.




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

Search: