in reply to install Devel::Cover 1.09

See also How to get the path coverage (or lines of code executed) after running a perl test file.

--MidLifeXis

Replies are listed 'Best First'.
Re^2: install Devel::Cover 1.09
by perl_help26 (Beadle) on Apr 17, 2014 at 13:35 UTC
    I actually thought this worked but I still have one test failing (aexec.t)! I am beginning to think that Devel::Cover is not an option for perl 5.18.1 ?
        Yeah I am actually using Windows... And I tried to install Devel::Cover 1.07->1.11 I always have tests failing...

      Install VirtualBox, and within it, your favorite flavor of linux as a guest OS. Use that for coverage testing. Of course that assumes your target code is, itself portable across OS's. Otherwise maybe you could just use the force option on your cpan installer and hope for the best.


      Dave

        I might as well try it... Thanks Dave
      "I am beginning to think that Devel::Cover is not an option for perl 5.18.1"

      I'm running 5.18.1 — I've just successfully installed Devel::Cover 1.09:

      $ cpan cpan shell -- CPAN exploration and modules installation (v2.00) Enter 'h' for help. cpan[1]> install PJCJ/Devel-Cover-1.09.tar.gz ... PJCJ/Devel-Cover-1.09.tar.gz /usr/bin/make install -- OK cpan[2]>

      And then, because I didn't want an old version, I successfully installed the current version:

      cpan[2]> install Devel::Cover ... PJCJ/Devel-Cover-1.12.tar.gz /usr/bin/make install -- OK cpan[3]>

      -- Ken