[Fwd: Re: how does cpan organize testing?]

From: Date: Sun, 10 Apr 2005 07:04:29 +0000
Subject: [Fwd: Re: how does cpan organize testing?]
Groups: php.pear.qa 
Request: Send a blank email to pear-qa+get-2706@lists.php.net to get a copy of this message
FYI -------- Original Message -------- Subject: Re: how does cpan organize testing? Date: Sun, 10 Apr 2005 01:19:23 +0100 From: Robert Rothenberg <wlkngowl@i-2000.com> Reply-To: Rrwo <rrwo@cpan.org> To: Lukas Smith <lsmith@php.net> Lukas, It kind of works this way: * The CPAN repository of modules that has some meta-info about latest releases, where they are, who maintains them, etc. * Module authors are expected to put tests in their distributions * A group of volunteers regularly check for new distributions, run the tests, and post specially formatted test reports to the testers list * Another group of volunteers runs tests sporadically (as they try and install new modules) * There is a separate piece of software that analyses test reports and saves the information in a database, and then formats the information for the web site There are some other pieces here: * various packaging utilities such as Module::Build and Module::Install ExtUtils::MakeMaker etc. for building, testing and installing packages * various utilities such as h2xs and Module::Starter for creating the initial packages with requisite files that authors use when developing them * Utilities like CPAN and CPANPLUS which are smart enough to download package prerequitites, test and install them in the correct order * Add-ons to these utilities such as Test::Reporter to post test reports to the list (and cc module authors) * "Smoke-testing" utilities to run tests on a bunch of modules at one... used by most of the people who monitor new uploads * Some volunteers look more closely at new packages and send comments to the authors, and post reviews to a ratings site. * Another set of volunteers devoted to quality: they use coverage utilities to analyse how much of the code is tested and documented and work with the authors to imporve this, especially for the 100+ most popular packages... this is in preparation for Perl6 Some issues: * Not enough smoke-tester volunteers to test on every platform. Most platforms have only one tester. * No control over module namespaces, so there's a lot of cruft on CPAN * No way to automatically determine prereq libraries and applications that is cross-platform; developing packages to assist with this problem * Need more volunteers to help maintain various software packages * How to determine which packages are most popular or deserving for quality assurance? And that's an off-the-cuff response. Hope that helps! Rob

« previous php.pear.qa (#2706) next »