Test coverage

Chia-liang Kao <[email protected]> Wed, 8 Sep 2004 13:42:58 +0100
Newsgroups gmane.comp.version-control.revml
Message-ID <[email protected]>
--RASg3xLB4tUQ4RcS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Updated at http://wagner.elixus.org/~clkao/vcp-cover/

On Wed, Sep 08, 2004 at 05:45:27AM -0400, Barrie Slaymaker wrote:
> Could it be that Devel::Cover is not being enabled on the child
> processes?  We should be able to pass it in nicely by doctoring
> VCP::TestUtils::vcp_cmd().
>     - any way to get it to ignore VCP::TestUtils::*?

I'm using:

  make test PERL5OPT=-MDevel::Cover=+ignore,TestUtil

This makes all child processes to run with devel::cover.

>     - any way to get it to handle uncalled die()s separately (failure
>       modes are the hardest things to test for, and I'd like to
>       deprioritize them when searching for untested code)?

pjcj said there's already internal facility to mark uncoverable
things, but there's no UI yet.  Hopefully in the next Devel::Cover
release.

Cheers,
CLK

--RASg3xLB4tUQ4RcS
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFBPv5Sk1XldlEkA5YRAltMAJ9Gf5jhGVldZjxB5IHrtXzUHFRqRgCfY/OY
Tp+13i2wyz7gF2SCZOyrr3I=
=o8vg
-----END PGP SIGNATURE-----

--RASg3xLB4tUQ4RcS--