[revml] Updating my patches

Barrie Slaymaker barries@slaysys.com
Wed, 8 Sep 2004 05:45:27 -0400


On Wed, Sep 08, 2004 at 02:25:28AM +0100, Chia-liang Kao wrote:
> FYI, I've just put up the test coverage at
> http://wagner.elixus.org/~clkao/vcp-cover/

Thanks, at a glance, it looks like Devel::Cover's not reporting coverage
in child processes (it, the bulk of VCP's testing).  For instance, I
can't see how VCP::ConfigFileUtils::parse_config_file() only got called
once given that many of the tests pipe a config "file" in to vcp's
STDIN.  And I know we execute a number of lines inside it.

    http://wagner.elixus.org/~clkao/vcp-cover/blib-lib-VCP-ConfigFileUtils-pm.html

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().

Other issues:

    - any way to get it to ignore VCP::TestUtils::*?
    - 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)?

Thanks,

Barrie