No RegisterRoutes method was found in the MvcApplication.MvcApplication class.

Jul 23, 2012 at 6:55 PM

Why Shall I need this method?

Coordinator
Jul 23, 2012 at 9:33 PM

The application throws this InvalidOperationException when you don't have any routes registered. The program can't very well test against routes if no routes exist, right?

Jan 16, 2013 at 10:25 AM

I had the same issue as my application setup calls route setup in a different way. Use the alternate constructor: RouteTester(RouteCollection routes) and fill the routes using whatever code you have that sets up the routing table.