Michael G Schwern wrote:

I think it would be a powerful addition to CPAN.  If you go to the
distribution page for any module - say, for example, Class::DBI
(http://search.cpan.org/~tmtm/Class-DBI/)

Trouble right there. Now search.cpan.org has to run untrusted code so a jail would have to be constructed.

Additionally it has to have all the optional modules necessary for
testing the module available else the coverage run will appear low due
to skipped tests.  CDBI is a perfect example of this.  Finally, any
external dependencies or platform specific code causing tests to be
skipped (libwin32, DBD::Pg, etc...) will produce inaccurately low
coverage reports.

Instead of running the code on one server, where it's a problem, why not running on machines where all prereq modules are already installed, i.e. on machines where one *wants* to install the module ? Let's add an option to CPANPLUS so that it run Devel::Cover on any module that it has to install and include the coverage information in the test report.



Sébastien Aperghis-Tramoni -- - --- -- - -- - --- -- - --- -- - --[ http://maddingue.org ] Close the world, txEn eht nepO



Reply via email to