Browse by Tags

Related Posts

  • Re: MVC + Unity Containers + MSTest?

    This is a great project, but the tests are hard-coded to use a specific Repository rather than using the same logic stored within the application that relies on Unity to inject the type of Repository. This is what I am after: My logic for Unity type injection should be the same for my tests as for my...
    Posted to ASP.NET MVC (Forum) by ericis_com on 12-30-2008, 12:00 AM
    Filed under: mstest, MVC, IOC, unity, repository, Unit Test
  • MVC + Unity Containers + MSTest?

    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
Page 1 of 1 (2 items)