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

Testability falls out of good design. Testability is not worth optimizing for on it's own, though. It's just a nice side effect.

Read Growing Object-Oriented Software Guided By Tests. The authors walk through the development of an auction sniper.



The "testability" of a piece of software doesn't really have much to do with the discussion about the quantity or kinds of tests that should be written for it.

Every test is another thing that has the potential to require debugging.


So true, debugging "tests" is infernal. Peaple always tell you testing should be easy and quick,it is neither of them.




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

Search: