Hacker News .hnnew | past | comments | ask | show | jobs | submitlogin

More often than not the unit tests will have assumptions about the design in them so they will actually stand in the way of refactoring rather than facilitate it. If you have class A with unit tests this is basically a design decision reflected right there. If having class A is bad design fixing that requires dealing with tests + class A and the tests are a hindrance rather than help.


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

Search: