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

The rarely triggered code is exactly where you want unit tests.

That's an opportunity to describe, in code, what that path is supposed to do, and then make sure it does it.



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

Search: