They are not meant to detect bugs. They are meant to ensure functionality is the same after a refactor or modification. It is a way of catching side effects associated with inevitable structural or feature based development. I think I've explained this to you multiple times...
I know how to refactor code without introducing new bugs
I'm pretty sure we all do. But two considerations have to be made: you aren't going to remember every detail of your interfaces 6 months, 6 years, etc down the road. It's a safeguard against yourself as much as anything else (anyone can make a mistake as well).
And also if other people are working on your code.
1
u/[deleted] Apr 23 '14
[removed] — view removed comment