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

I think that the main advantage of unit testing is that you have to write testable, modular code. It ensures a sound design, which is the cheapest phase to catch bugs. The regression proofing is not a particularly big advantage of unit testing since functional and integration tests catch more bugs anyway.


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

Search: