Appendix A
Let’s touch on a subject matter that some developers find to be a
very controversial issue: changing the design of your code so that it is more
easily testable. The appendix consists of two main parts:
§First, assuming that you
would like to do this, it teaches the basic concepts and techniques for
doing so.
§The second part discusses
pros and cons of this method and when it is appropriate to use it.
Why would you need to design for testability in the first place, though?