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

> [...] unit tests that demonstrate that it works

I'm going on a bit of a tangent here, but unit tests don't demonstrate that it works – acceptance tests demonstrate that it works. Unit tests help reduce the time to narrow down problems and in some cases help with refactoring (if refactoring is limited to the inside of methods).



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

Search: