Browse by Tags

Related Posts

  • Testing Model, Controller and View

    Hi, I have implemented a small web application with the MVC Framework and now I'm trying to test the solution with Unit tests and Rhino.Mocks (I know that is not the TDD approach ... ). Everything is fine, I have test cases for my model and for my controller with mock objects. But how can I test...
    Posted to ASP.NET MVC (Forum) by Zhou on 03-25-2008, 12:00 AM
    Filed under: MVC, viewpage, Unit Test, Rhino.Mock
  • Re: Testing Model, Controller and View

    Yes, that is correct. The context comes from HTTPContext.Current and HTTPContext is a sealed class and is not mockable.... very bad.
    Posted to ASP.NET MVC (Forum) by Zhou on 03-26-2008, 12:00 AM
    Filed under: MVC, viewpage, Unit Test, Rhino.Mock
Page 1 of 1 (2 items)