How can I expose Unity to my MVC contollers for unit testing? I quickly found resources for exposing Unity to MVC through a Controller Factory in a custom HttpApplication Start event. But, unit tests usually create and call Controllers directly, so... I suppose I could create a custom Controller class...
Posted to
ASP.NET MVC
(Forum)
by
ericis_com
on
12-30-2008, 12:00 AM
Filed under: mstest, MVC, Controller, controllerfactory, unity, Unit Test