Category Archives: OOP

OOD Class Principles and Testability

This is the final post in my series on OOD class principles and testability. It has included: Single Responsibility Principle and Testability The Interface Segregation Principle and Testability Dependency Inversion Principle and Testability Open Closed Principle and Testability Liskov Substitution … Continue reading

14,591 Total Views
October 10, 2006 OOP, Unit Testing

Single Responsibility Principle and Testability

Straight from the source: THERE SHOULD NEVER BE MORE THAN ONE REASON FOR A CLASS TO CHANGE. What is a Responsibility? In the context of the Single Responsibility Principle (SRP) we define a responsibility to be “a reason for change.” … Continue reading

15,182 Total Views
OOP, Unit Testing

The Interface Segregation Principle and Testability

So c2.com does not maintain a good page on ISP. I will lean on David Hayden to round up a quick explanation of ISP: The Interface-Segregation Principle focuses on the cohesiveness of interfaces with respect to the clients that use … Continue reading

12,400 Total Views
OOP, Unit Testing

here