Reading this question has helped me solidify some of the problems I\'ve always had with unit-testing, TDD, et al.
Since coming across the TDD approach to development I k
Dependency Injection/IoC. Also read up on dependency injection frameworks such as SpringFramework and google-guice. They also target how to write testable code.