On Thu, 15 Mar 2012 18:00:24 +0100, David Booth <da...@dbooth.org> wrote:

FYI, I tried doing this with using the Test::MockObject module, but
abandoned the effort due to a bug that causes Apache2 child process
segmentation fault even when no Test::MockObject functions are called:
https://rt.cpan.org/Public/Bug/Display.html?id=73723

I don't know if there might have been other workarounds possible.

Just skimming through the mail content, sorry,
maybe it's not what you want. But...

I've hacked together this for some unit tests
of code that was dependent on mod-perl,

https://metacpan.org/module/Test::Mock::Apache2
https://github.com/cosimo/perl5-test-mock-apache2

YMMV,

--
Cosimo

Reply via email to