How to manage IoC containers in tests?

Posted by frosty on Stack Overflow See other posts from Stack Overflow or by frosty
Published on 2010-05-27T17:21:54Z Indexed on 2010/05/27 20:41 UTC
Read the original article Hit count: 189

I'm very new to testing and IoC containers and have two projects:

  • MySite.Website (MVC)
  • MySite.WebsiteTest

Currently I have an IoC container in my website. Should I recreate another IoC container for my test? Or is there a way to use the IoC in both?

© Stack Overflow or respective owner

Related posts about testing

Related posts about inversion-of-control