Dhaval Shah wrote:
> I am trying to create a code coverage report on my web server running
> mod_perl.
> 
> As suggested in Devel::Cover and installing it, I have inserted "use
> Devel::Cover" in startup.pl and restart my apache. This is what I get:

> Even though I run my tests [which are browser based remote tests], I
> do not get any coverage numbers other than the above when I run my
> cover report.
> 
> What am I missing?

you really need to run apache in single-process mode (-X for 1.3 or -D
ONE_PROCESS for 2.x), which is probably why you are having issues
gathering data.

outside of that, you might want to check this out:

  http://people.apache.org/~geoff/Apache-Test-with-Devel-Cover.tar.gz

you don't need to use Apache-Test, but if you look at the generated
'testcover' make target and the files in t/conf it should give you an
idea as to what you need to do in order to successfully get coverage
data for mod_perl stuff.

HTH

--Geoff

Reply via email to