MvcRouteUnitTester 0.9.2

MVC Route Unit Tester provides convenient, easy to use methods that let you unit test the route table in your ASP.NET MVC application, including Area routes. Unlike many libraries, this lets you test routes both ways -- both incoming and outgoing. You can specify an incoming request and make one of several assertions about the outcome; such that the request matches a given route, matches no routes, or that it is ignored by the routing system. You can also specify route data and assert that a given URL will be generated by your application. Works with any unit testing library you choose, such as MSTest, NUnit, xUnit, mbUnit, and others. See the Project site for usage details.

Install-Package MvcRouteUnitTester -Version 0.9.2
dotnet add package MvcRouteUnitTester --version 0.9.2
<PackageReference Include="MvcRouteUnitTester" Version="0.9.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MvcRouteUnitTester --version 0.9.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MvcRouteUnitTester, 0.9.2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install MvcRouteUnitTester as a Cake Addin
#addin nuget:?package=MvcRouteUnitTester&version=0.9.2

// Install MvcRouteUnitTester as a Cake Tool
#tool nuget:?package=MvcRouteUnitTester&version=0.9.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

0.9.2.0: Exposes the HTTP context on the RouteInfo and RequestInfo objects. This provides an extensibility point which allows the user to customize the HTTP context used for tests.

    • Moq (>= 4.0.10827)

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.9.2 93,680 4/27/2012
0.9.1 2,542 1/12/2012
0.9.0.1 994 12/8/2011
0.9.0 951 12/5/2011
0.8.5.2 1,000 12/1/2011
0.8.5.1 908 11/29/2011
0.8.5 994 11/28/2011
0.8.4 935 11/28/2011
0.8.3.3 932 11/26/2011
0.8.3.1 893 11/26/2011
0.8.2 928 11/25/2011
0.8.1 933 11/21/2011
0.8.0.1 945 11/20/2011