Hacker News new | past | comments | ask | show | jobs | submit login

> Does your opinion only apply to unit testing or to automatic testing in general?

In my experience once people learn about tests, they want to see 1. tests per commit and 2. high code coverage. This leads to unit tests, which don't really test much of anything, and what they do test (the layers under you like the compiler) is by accident.

The most useful testing would be integration tests on the side, and then regression tests because they're guaranteed to have already found at least one bug.




This, exactly.




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

Search: