I wrote Test::HTTP::LocalServer, which can spawn a local HTTP server against which you can then run requests. That module is very specific for my needs and the spawned server is rather slim because it was more geared towards testing WWW::Mechanize(::Shell) than towards testing an external module.
Maypole has a CLI component to run a request from the command line - maybe you can use the idea from it. The implementation seems to override the relevant parsing parts of Maypole, so your option would be to do the same but for your framework.
In reply to Re: Testing CGI.pm-based programs with WWW::Mechanize without a server
by Corion
in thread Testing CGI.pm-based programs with WWW::Mechanize without a server
by merlyn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |