On Oct 9, 2008, at 4:13 PM, Jesse Sheidlower wrote:
That is, if I want to test my Catalyst app against a real server (for example, if I have server configuration settings in an httpd.conf file, or some other reason why I need to test my app against Apache instead of a Perl HTTP object), but I want to do so on my local machine, how do I do it? I see from the Catalyst::Test source that CATALYST_SERVER will override the use of the HTTP object, but I can't quite follow what T::W::M::Cat is doing. I'd like to be able to point to http://localhost/myapp but have this be regarded as a remote address that does use the server. Thanks. I'd offer to fix the docs myself, but this isn't in the Catalyst repo....there are minor typos, too.
Since TWMC uses Catalyst::Test, I believe that yes, you can set CATALYST_SERVER to a localhost URL.
_______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
