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

> Unit testing ... is not just about developing as it is about preventing regressions.

Absolutely this! Unit testing helps you during the dark years of maintenance phase, when you must fix a bug or add a new feature and you don't have the knowledge, nor the time, to build a full representation of the application in your head: you just touch as little code as possible to get the work done, and unit tests help to ensure that all the rest stays equal.



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

Search: