mvccontrib-testhelper
Issue with mvcContrib fluent route testing in asp.net mvc
I have an issue with testing routes using the MVCContrib Fluent route testing. The test fails yet the application recognises the routes.[详细]
2023-01-20 13:51 分类:问答Missing Documentation: MVCContrib UI-Testing
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[详细]
2023-01-17 21:39 分类:问答How do I test rendered views when using T4MVC with TestHelper?
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[详细]
2023-01-08 02:46 分类:问答Using MVCContrib.TestHelpers with MsTest - is there any way to get nicer fail messages?
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:[详细]
2023-01-07 21:48 分类:问答MvcContrib TestHelpers don't seem to provide a full HTTPContext.Server object
So the MvcContrib TestHelpers create mock versions of the following HttpContext HttpRequest HttpResponse[详细]
2023-01-07 21:04 分类:问答Trying to stub Server.MapPath with MvcContrib Test helpers and Rhino Mocks 3.5
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:[详细]
2023-01-07 08:20 分类:问答After using Automapper to map a ViewModel how and what should I test?
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[详细]
2023-01-04 08:02 分类:问答Error using MVCContrib TestHelper
While trying to implem开发者_Python百科ent the second answer to a previous question, I am receiving an error.[详细]
2023-01-02 21:14 分类:问答How can I test route/action resolution of URL with query string?
I\'m trying to use code such as the following in my unit tests, /* Test setup code */ _routes = RouteTable.Routes;[详细]
2022-12-31 08:30 分类:问答Need help with error using MvcContrib.TestHelper's ShouldMapTo() generic extension method
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:[详细]
2022-12-22 05:37 分类:问答