Unit testing with EF4 “Code First” and Repository
I'm writing some unit tests for some controller methods in my project and am wondering whether to test against the controller class itself or an interface of that controller.
Should I be creating an interface for each controller and run my unit tests against that?
1:Passing nested arrays to asp.net mvc using jQuery's $.ajaxGrab data from table, join string from two columns, display in MVC selectListServing a file generated dynamically by the model, in ASP.NET MVC
2:ASP.NET MVC: ActionLink vs bare url
Do you have a need to treat your controllers as interfaces (quite unlikely I would of thought)? if so test against that. meaning of “strongly typed view”
If not, then directly test against the controllers..