Sunday, June 19, 2011

CPAN tester

Tweets from Gabor Szabo got me curious about CPAN tests.

I work in software testing and I recognize the value of automatic tests and reports.

After checking out the CPAN Tester wiki, I installed and configured CPAN::Reporter. If I understand well, this module will automatically send the test results run on your computer to the CPAN test database when you install a new Perl module. The authors and users can see reports on all tested configurations.

This is a simple way to give back to the Perl community for those nice CPAN modules.

The process involved starts with installing the CPAN::Reporter module on your machine and saving the configuration file.

Note: When looking for the metabase-profile tool on Windows, check in the C:\Perl\cpan\build\Metabase-Fact-0.019\script directory.

You can also set up a machine to continuously test CPAN Perl modules.

Each tester registered to the CPAN gets listed according to the number of test reports sent back to the server. Gabor is making a game of climbing the ranks. Who will join the testers' army and try to beat him?

Edit June 22nd: As of now, I am registered on CPAN testers and have sent my first test report. You can check that your setup is correct by searching through the log tail. Here's my entry:

22T07:21:29Z] [dlp] [pass] [DAGOLDEN/CPAN-Reporter-1.1902.tar.gz] [MSWin32-x86-multi-thread] [perl-v5.10.1] [ddfed1a4-6e1e-1014-9872-6ddfc9b97d9d] [2011-06-22T07:21:29Z]

Let's work our way up!

No comments :

Post a Comment