I have an issue with testing routes using the MVCContrib Fluent route testing. The test fails yet the application recognises the routes.
Is there any documentation or example how to use MvcContrib.TestHelper.Ui and WatinDriver?开发者_如何学GoI haven\'t found any real documentation for it, but there are examples of its use in the source
How do I test which view was rendered from a controller action if what I get is a T4MVC_ActionResult? Under normal circumstances I should be able to directly use TestHelper\'s methods, like in the exa
I\'m just starting to use MVCContrib, and I\'m really liking the syntactic sugar it adds to various test scenarious. For example, I just wrote this assertion:
So the MvcContrib TestHelpers create mock versions of the following HttpContext HttpRequest HttpResponse
I\'m using MvcContrib\'s test helpers and Rhino Mocks 3.5 to test an ASP.NET MVC action method. I build my fake controller like so:
I am attempting to test the Index action of a controller. The action uses AutoMapper to map a domain Customer object to a view model TestCustomerForm. While this works I am concerned about the best wa
While trying to implem开发者_Python百科ent the second answer to a previous question, I am receiving an error.
I\'m trying to use code such as the following in my unit tests, /* Test setup code */ _routes = RouteTable.Routes;
I\'m trying to unit test my routes using the MvcContrib.TestHelper ShouldMapTo<TController>() extension method, but my tests fail with the following error message: