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

Everytime I've seen these arguments it's been the same:

* Bad coding practices lead to bad tests * Bad test practices make development very difficult, since you're constantly chasing your tail

They're invariably intertwined. Bad tests can be re-written. Bad code can be rewritten/refactored too, but it tends to have a larger impact on the product (you know, the thing that actually makes you money).

However, it seems that a lot of posters see bad tests and say that it's the problem, and therefore most tests are bad. They neglect that bad tests are a smell that what they're testing is probably shit. They're treating (condemning) the symptom, not the cause.



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

Search: