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

You do not want to test private implementation. You should be testing the public contract only. Reaching in and making private things public crystallizes the implementation and reduces your ability to refactor.


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

Search: