MvcRouteTester is a .Net library to help unit testing ASP MVC 5 route tables. It contains asserts for for both regular controllers and the Api controllers that are new in MVC 4.0. It is built in .Net 4.5 and ASP MVC 5.0.
For ASP MVC4 see https://www.nuget.org/packages/MvcRouteTester/
See the version list below for details.
Install-Package MvcRouteTester.MVC5 -Version 1.2.0
dotnet add package MvcRouteTester.MVC5 --version 1.2.0
<PackageReference Include="MvcRouteTester.MVC5" Version="1.2.0" />
paket add MvcRouteTester.MVC5 --version 1.2.0
Breaking change to remove methods that take a post body without type. Specify BodyType.FormUrl to replace them.
- Newtonsoft.Json (>= 5.0.8)
This package is not used by any popular GitHub repositories.