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

Yes but there are also cases where relatively safe changes break a lot of tests, and it tells you nothing except that you now have a lot of tests to fix-up. I've held off of refactorings that I knew would scrap a bunch of tests. There is no easy answer to this stuff.


The argument would be that tests that are easily broken by relatively safe changes are bad tests.


Or that the tests are correctly telling you that your proposed change will break your clients.




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

Search: