MVC Route Unit Tester provides convenient, easy to use methods that let you unit test the route table in your ASP.NET MVC application. Unlike many libraries, this lets you test routes both ways -- both incoming and going. You can specify an incoming request and assert that it matches a given route (or that there are no matches). You can also specify route data and assert that a given URL will be generated by your application. See the Project Site for usage instructions.

There is a newer version of this package available.
See the version list below for details.
Install-Package MvcRouteUnitTester -Version
dotnet add package MvcRouteUnitTester --version
<PackageReference Include="MvcRouteUnitTester" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MvcRouteUnitTester --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

    • Moq (>= 4.0.10827)

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.9.2 75,478 4/27/2012
0.9.1 2,159 1/12/2012 617 12/8/2011
0.9.0 587 12/5/2011 636 12/1/2011 535 11/29/2011
0.8.5 625 11/28/2011
0.8.4 558 11/28/2011 567 11/26/2011 514 11/26/2011
0.8.2 555 11/25/2011
0.8.1 566 11/21/2011 564 11/20/2011
Show less