I have seen some very helpful posts about testing Microsoft's routing. One in particular http://ift.tt/Pb0e20 seems to deal just with WebApi. Though similiar they are not the same. If I have an MVC application how do I see the method that will be invoked for a given URL. It seems to boils down to creating a 'Request' that can be passed to the constructor of HttpControllerContext and obtaining a reference to the 'current' config (like HttpConfiguration) in testing. Ideas?
Thank you.
Aucun commentaire:
Enregistrer un commentaire