A guide to SRP, Open/Closed, Dependency Injection, Interfaces, Unit Testing and Mocks
This video is a guide for developers to help them understand what changes need to be made to code to make it testable and sustainable. It uses parts of the SOLID principles to refine an example class.
- Single Responsibility Principle (SRP)
- Open/Closed principle
- Dependency Injection
- Unit Testing
Originally published at 26 Brains.