asp.net mvc - Testing an MVC Controller action with an ActionFilterAttribute -
A well known advantage of MVC is its suitability for test-driven development (TDD) because you can call directly from your controller functions. Your test methods
Did you return a Has anyone done this successfully? ActionFilter
attribute (using OnActionExecuted
by ActionResult
, but the filter feature is never implemented, I think you can get it by the controller. Action Inkker Invoke Action (Controller Consort, "ActionName")
, but you have to suffer the Controller Contex to do this work so that it is a real pain. / P>