Skip to content

EasyConceptDesign principles and testing

What is dependency injection and why use it?

What a good answer covers

Passing a component's dependencies in rather than creating them inside, which makes code easier to test with fakes and to change.

More on Design principles and testing

Flashcards for this topic