Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Testing mod_perl handlers [was Re: changing object's methods at runtime]

by ViceRaid (Chaplain)
on May 21, 2003 at 14:03 UTC ( [id://259724]=note: print w/replies, xml ) Need Help??


in reply to Re: changing object's methods at runtime
in thread changing object's methods at runtime

Thanks Ilya

Actually, I started off with Test::MockObject to fake the request, but there was a lot of methods I needed to mock and that's a bit laborious. The other reason is that Apache::Request conveniently fills out all the Apache::Constants, eg, Apache::Contants::FORBIDDEN which otherwise need to be set manually as they're unavailable when running outside mod_perl.

But having tried it both ways now ;), there's really not much in it.

  • Comment on Testing mod_perl handlers [was Re: changing object's methods at runtime]

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://259724]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2024-04-19 16:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found