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

> Easily testable tends to mean that the class knows to little.

No it doesn't. You've got a pretty big job proving that ALL TDD does that.

Have you ever read python doctests? They are a perfect example of tests that describe both functionality and usage.



I said tends to mean. That does not mean that it is true all the time, but that, a priori, it is the most likely outcome.




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

Search: