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

Not the poster you replied to, but I've been thinking of it lately in a different way. Functional tests show that a system works, but if a functional test fails, the unit test might show where/why.

Yes, you'll usually get a stack trace when a test fails, but you might still spend a lot of time tracing exactly where the logical problem actually was. If you have unit tests as well, you can see that unit X failed, which is part of function A. Therefore you can fix the problem quicker, at least for some set of cases.



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

Search: