About• Dependency Injection• Service Location• TDD & Mocking - How they play together nicely• Auto-mocking• IOC - Tools, Features, Usage, Pros/Cons, Best Practice
Definition• High-level modules should not depend on low-level modules. Both should depend on abstractions.• Abstractions should not depend upon details. Details should depend upon abstractions.
Design PatternsDependency Injection Service Locator
StoryAs a CustomerI want to change my passwordIn order to keep my account secureScenarioGiven I’m an account holderWhen I change my passwordThen It should ensure it is a strong passwordAnd it should change my passwordAnd it should notify me it has been changed