Bad DI - Configuring the IoC container in unit test projects(www.devtrends.co.uk)
submitted by
devtrends(184) 10 months, 5 days ago
You will often hear people say that using IoC allows your code to be unit testable, and they are of course correct. If you are doing dependency injection correctly, you code will inherently be unit testable. The subtlety that needs to be understood is how DI aids unit testing. It is certainly not the use of an IOC container which should have absolutely no bearing on your unit testing code.
|category: Patterns
|Views: 6
tags:
Patterns another
Everyones tags:
Your Tags: