title: Route testing ASP.NET MVC4
body: <p>I've been using MvcRouteUnitTester (<a href="http://mvcrouteunittester.codeplex.com/">codeplex</a> and <a href="http://nuget.org/packages/MvcRouteUnitTester">nuget</a>) to run <em>automated unit tests</em> against my routes. A taste of what it can do:</p>
  
  <pre><code>// assert incoming route
  tester.WithIncomingRequest("/Foo").ShouldMatchRoute("Foo", "Index");
  tester.WithIncomingRequest("/Foo/Index").ShouldMatchRoute("Foo", "Index");
  
  // assert outgoing route
  tester.WithRouteInfo("Foo", "Index").ShouldGenerateUrl("/Foo");
  </code></pre>
  
  <p>It works very well... when it works. It <a href="http://mvcrouteunittester.codeplex.com/discussions/394149">doesn't work well with MVC4</a> and has not been updated for a long time.</p>
  
  <p>Is there a substitute tool which <em>works with the latest MVC</em>, and is actively supported?</p>