Wouldn't it be interesting to have an option for CPAN and CPANPLUS to automatically run Devel::Cover with the test suite and if the coverage falls below a certain percentage to give you the option of abandoning the install?
HARNESS_PERL_SWITCHES=-MDevel::Cover
And then, whenever make test is run, so is coverage...
Re:You can already do that!
Ovid on 2007-03-30T07:28:28
I know to set the environment variable, but I don't believe there's an option to abandon the install if the coverage is below a certain point. I'd really like that (particularly if the module's a dependency in a chain of modules and I want to look at things closer).