Hi Im doing TDD for an asp.net mvc project, I need to be able to do end to end testing fie sending a request to the controller action all the way to the repository. I have tried using
http://blog.stevensanderson.com/2009/06/11/integration-testing-your-aspnet-mvc-application/ but unfortunately I cant get this to run and Im running out of time, does anyone know any other way to fake a httprequest and populate request post parameters in a test scenario my controller action is as follows [HttpPost] public ActionResult CreateUser(User user) { }
so I need to basically doa http request to populate this User object and hopefully save to a test repository. any ideas please?
Thanks