How to design code for testability
问题 I have been looking at using TDD and implementing proper testing (only just started to learn how much better it makes your life) in any of my projects that I create in the future. So for the last couple of days I have been floating around on SO trying to learn about how to design your application for testability, but I still seem to be struggling with some of the ideas. I have read a lot that you should program against interfaces rather than classes . The main problem I'm having is, how many