in reply to changing object's methods at runtime
If you need to fake Apache request object for test purposes you may find it is much easier to use mock objects (i.e. Test::MockObject) instead of Apache::FakeRequest as you have more control over fake request object. See Automated software testing: emulation of interfaces using Test::MockObject for example.
--
Ilya Martynov, ilya@iponweb.net
CTO IPonWEB (UK) Ltd
Quality Perl Programming and Unix Support
UK managed @ offshore prices - http://www.iponweb.net
Personal website - http://martynov.org
|
---|
Replies are listed 'Best First'. | |
---|---|
Testing mod_perl handlers [was Re: changing object's methods at runtime]
by ViceRaid (Chaplain) on May 21, 2003 at 14:03 UTC |
In Section
Seekers of Perl Wisdom