Definition Ofa Testable System

reposted without permission from the XP Mailing List

Quoting Roy Osherove <http://weblogs.asp.net/rosherove/articles/Design4Tesatbility1.aspx>

"Here's my current definition of a testable system:

"For each logical part of the system, a unit test can be written relatively easily and quickly that satisfies all the following PC-COF rules at the same time:

If a system is grown through TestDrivenDevelopment, then... So I don't think any *additional* advice regarding testability is necessary for people practicing TDD.

If you want to motivate testability for code developed without the benefit of TDD, that's a fine goal.... but shouldn't really be confused with TDD. MichaelFeather?'s WorkingEffectivelyWithLegacyCode covered that, and the mailing list associated with the book is still around, though inactive. Search for WELC.

C. Keith Ray


EditText of this page (last edited October 3, 2006) or FindPage with title or text search