In the test suite for WWW::Mechanize::Shell and WWW::Mechanize, I wrote a small webserver for testing. That webserver logs all output into a file, and the test launches the webserver, makes one or more requests and then visits a special URL to stop the webserver. Then it reads the file to additionally check that everything is as it should. See Test::HTTP::LocalServer.
In reply to Re: test script for LWP::UA based code
by Corion
in thread test script for LWP::UA based code
by danmcb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |