完整的 Mojolicious 应用程序具有routes
将转储应用程序路由的命令:
script/my_app.pl routes
如何从测试Lite
应用程序脚本中做同样的事情?
use Mojo::Base -strict;
use Test::Mojo;
use Test::More;
use Mojolicious::Lite;
... # Routes defined here
my $t = Test::Mojo->new;
$t->dump_all_routes # What should I do here?