290961 (1) [Avatar] Offline
Are you planning on discussing how to test routes? In a large application, routing can get complex and difficult to maintain. It would be good to see this covered.

Andrew Lock (51) [Avatar] Offline

I'm not planning on discussing this directly in the book. However, I do discuss integration testing which you can use to run an instance of your application in a unit test and can make requests to it. It's not only testing routing then, but routing will be part of it!

Unit testing routes is harder due to the fact the routes can come from multiple places (e.g. attributes and conventions), so I'd suggest integration testing may be the way to go