* Jim Keenan ([EMAIL PROTECTED]) wrote:
> This is a report on differences between the output of
> 'make test' and 'prove' which are, well, different
> from those reported by Stevan Little in a thread
> beginning on Sept 4.

Are you sure the tarball and the installed version are the same?  My
guess is that you need to add -I to your prove command to use the newer
version from the tarball and not your installed version

    prove -Ilib -v t/*

Also I was thinking it would be nice to be able to run prove and
Devel::Cover together by possibly adding a -M to prove

    prove -MDevel::Cover -Ilib -v t/*

I remember mentioning something to Andy, but at the time he didn't like
it.  I'm also curious how other folks run coverage, update modules
and rerun coverage.  I've created this alias (I've seperated the misc
commands on seperate lines.

    covertest="
        make clean;
        rm Makefile.old;
        perl Makefile.pl;
        make;
        cover -delete;
        HARNESS_PERL_SWITCHES=-MDevel::Cover make test;
        cover;
        open cover_db/coverage.html"

The last command is OSX specific, but really makes it easy to run tests,
edit code and rerun them.  I may be doing this the hard way so feel free
to set me straight :)

-- Jeff Bisbee / [EMAIL PROTECTED] / jbisbee.com

Reply via email to