MvcRouteTester is a .Net library to help unit testing ASP MVC 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.
See the version list below for details.
Install-Package MvcRouteTester.MVC5 -Version 0.0.2
dotnet add package MvcRouteTester.MVC5 --version 0.0.2
<PackageReference Include="MvcRouteTester.MVC5" Version="0.0.2" />
paket add MvcRouteTester.MVC5 --version 0.0.2
Web attribute routing also works if you follow the pattern in the tests and call "routes.MapAttributeRoutesInAssembly(typeof(HomeController));".
- Newtonsoft.Json (>= 5.0.8)
This package is not used by any popular GitHub repositories.