[Catalyst] Mocking PSGI layers in Test WWW Mechanize Catalyst
toby at dryft.net
Fri Nov 1 03:07:41 GMT 2013
On 1 November 2013 12:29, Kieren Diment <diment at gmail.com> wrote:
> On 01/11/2013, at 12:26 PM, Toby Corkindale wrote:
>> On 1 November 2013 12:01, Kieren Diment <diment at gmail.com> wrote:
>>> You mean you want two apps interacting with each other in the same script using WWW::MEchanize? Eden and I were working some docs up on that topic until real life intervened.
>>> This was the start of it:
>> Not exactly -- in this case I have a PSGI layer that is supposed to
>> inject some extra information into the env for consumption by the
>> A simple example would be if you had a PSGI layer providing, say,
>> Basic HTTP auth, and setting the REMOTE_USER variable.
>> Although in my case, there's a bit more to it than that.
> Does the paste set you in the right direction?
It's helpful for showing how to build a test-www-mechanize-psgi :)
Turning and turning in the widening gyre
The falcon cannot hear the falconer
Things fall apart; the center cannot hold
Mere anarchy is loosed upon the world
More information about the Catalyst