John,
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.
John
>________________________________
> From: John Karr <[email protected]>
>To: 'The elegant MVC web framework' <[email protected]>
>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: [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/
>
>
>
_______________________________________________
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/