As the architecture of MVC 6 changed significantly, how would one go about unit testing the routing?
As an example, I like the libraries such as this one (as for <= MVC 5): http://ift.tt/11zADrE
Something down the lines of fluent extension methods:
routes.ShouldMap("/").To<HomeController>(x => x.Index());
Aucun commentaire:
Enregistrer un commentaire