[Catalyst] Application Testing, Mocking Apache Headers/Environment
jjn1056 at yahoo.com
Sun Apr 15 19:34:45 GMT 2012
Could you give us a bit more information? For example do you have a test case you are trying to write, but can't? I'll a little confused as to what you are trying to do and maybe seeing more code would help.
Oh, and Just FYI the newer versions of Catalyst move the env access from engine to request, and if you are planning of making heavy use of that I'd consider upgrading, so that you won't have compatibility issues later.
> From: John Karr <brainbuz at brainbuz.org>
>To: 'The elegant MVC web framework' <catalyst at lists.scsys.co.uk>
>Sent: Thursday, April 12, 2012 3:39 PM
>Subject: [Catalyst] Application Testing, Mocking Apache Headers/Environment
>I am trying to test an application that is deployed behind a proxy and which
>is dependent on obtaining information from the request through
>$c->engine->env this information includes the logged in user and client ip
>address. I've been using the config file to provide override values,
>however, this is not helpful for testing multiple values.
>List: Catalyst at lists.scsys.co.uk
>Searchable archive: http://email@example.com/
>Dev site: http://dev.catalyst.perl.org/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Catalyst