Re: Hello, I think TestRunPerl can save me, but I am not sure how to go about it...

"Cosimo Streppone" <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <op.wa71uv1ts5ttvb@c0805>
On Thu, 15 Mar 2012 18:00:24 +0100, David Booth <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.