Unit testing Autofac registrations

added by DotNetKicks
9/10/2019 12:19:24 PM

259 Views

We use Autofac as our IoC container at Konstrukt, so we can easily mock dependencies when unit testing, allow for more flexibility and general decoupling. All the normal stuff you would expect with IoC and dependency injection. Fore the most part, I've been very pleased with Autofac, and I'm a big fan of Dependency Injection and Inversion of Control.


0 comments