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

+ sign and - sign are also called by unit tests many times, so you also repeatedly testing arithmetic operations "each time you unit test any of these methods, ... when you should only be testing what the method does".

Edit: I see what you say, but I think that effort we spend on decomposing app into perfectly isolated unit tests is far greater then the effort of identifying and troubleshooting where the less perfect test failed.



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

Search: