I mentioned earlier that TDD offers qualitative measurements about production code, namely that a large average fixture size can be used to measure relative coupling in a system. Similarly, tests can reveal whether, and to the extent, that the Single Responsibility Principle has been adhered to. The Single Responsibility Principle states that every class in … Continue reading "TDD and the Single Responsibility Principle"